此内容没有您所选择的语言版本。
Chapter 2. New Features and Enhancements
2.1. Apache HTTP Server Separated from Tomcat 复制链接链接已复制到粘贴板!
The Apache HTTP Server distribution is now shared between the JWS and JBoss Core Services entitlements. The shared distribution can be downloaded in ZIP from Apache HTTP Server download page on the support portal. The RPM distribution of HTTP must be consumed from the JBCS channel, while the Tomcat servers will continue to be delivered in the JWS3 channel.
Installation instructions for the Apache HTTP Server are provided in the Apache HTTP Server Installation Guide. You should refer to that guide for instructions for ZIP and RPM setup on the set of supported operating systems.
Maintenance for the Apache HTTP Server and the Tomcat servers will no longer be coordinated in JWS minor and micro releases. The HTTP server and the Tomcat servers will receive independent updates intended to provide more timely fixes for security and other high priority defect fixes.
To install httpd with JWS 3.1.0, you need to subscribe and enable the JBCS channel. The httpd package has moved from the JWS channel to the JBCS channel. If you are using httpd, then migrate from the httpd24 package in JWS to the JBCS software collections new jbcs-httpd24-httpd package.
The tomcat-native package requires the jbcs-httpd24-httpd-libs and jbcs-httpd24-openssl packages, which are available only in the JBCS channel. To access them, you have to subscribe and enable the JBCS channel.
2.4. Tomcat 复制链接链接已复制到粘贴板!
- Inclusion of the latest available version of Tomcat 8.0.36.
- Inclusion of the latest available version of Tomcat 7.0.70.
-
Replaced the existing
initscripts for Tomcat 7 and Tomcat 8 withsystemdunits on Red Hat Enterprise Linux 7.
A password vault is used to mask passwords and other sensitive strings, and store them in an encrypted Java keystore. This allows you to eliminate storing clear-text passwords in your Tomcat configuration files, as Tomcat can lookup passwords and other sensitive strings from a keystore using the vault.
For more information about using password vault, see Using a Password Vault with Red Hat JBoss Web Server 3.1.
2.6. SELinux Policies in RHEL ZIP for Tomcat 复制链接链接已复制到粘贴板!
In this release, SELinux policies are provided in the ZIP packages. The SELinux security model is enforced by the kernel and ensures applications have limited access to resources such as file system locations and ports. This helps ensure that the errant processes (either compromised or poorly configured) are restricted and in some cases prevented from running. The .postinstall.selinux file is included in each tomcat folder. If required, you can run the postinstall.selinux script.
To install the SELinux policies using ZIP:
Install the prerequisite packages:
-
selinux-policy-devel - Tomcat 7 or 8
-
- Download and unzip the JWS Tomcat distribution from the JWS channel.
Execute the following commands:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Start the Tomcat service.
bin/startup.sh
bin/startup.shCopy to Clipboard Copied! Toggle word wrap Toggle overflow Check the context of the running process expecting
tomcat7_t.ps -eZf | grep tomcat | head -n1
ps -eZf | grep tomcat | head -n1Copy to Clipboard Copied! Toggle word wrap Toggle overflow To verify the contexts of the Tomcat log directory and so on.
ls -lZ tomcat7/logs/
ls -lZ tomcat7/logs/Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.7. SELinux Policies in RHEL RPM for Tomcat 复制链接链接已复制到粘贴板!
SELinux policies for each Tomcat are provided via their own Tomcat sub-packages: tomcat7-selinux and tomcat8-selinux. These packages are available in the JWS channel.
-
To enable SELinux policies on Tomcat 7, install the
tomcat7-selinuxpackage. -
To enable SELinux policies on Tomcat 8, install the
tomcat8-selinuxpackage.
2.8. Hibernate 复制链接链接已复制到粘贴板!
- Upgraded to Hibernate version 4.2.23.
2.9. Microsoft Azure Testing and Certification 复制链接链接已复制到粘贴板!
- JBoss Web Server 3.1 has been tested and certified for Microsoft Azure.
2.10. Updated CGIServlet to Resolve httpoxy Issue 复制链接链接已复制到粘贴板!
In this release, a CGIServlet fix is provided for the httpoxy issue, see CVE-2016-5388. The envHttpHeaders parameter is included in the CGIServlet to solve the httpoxy issue.
You can also configure the filter and valve to resolve the httpoxy issue. For more information about using the filter and valve, see HTTPoxy - Is my JBoss/tomcat affected?.