Chapter 2. Migration From Base OS RHEL 7 Tomcat to JWS-5 Tomcat
For RHEL 8, Tomcat will be provided by the Red Hat JBoss Web Server team, where as previously it was provided by the Red Hat Enterprise Linux team. This section will cover the major differences between RHEL 7’s Tomcat package and the package provided by the JBoss Web Server project.
2.1. General Differences
- 
						The package directories are all located within the SCL directories, i.e.: /opt/rh/jws5/root/usr/share/tomcat vs /usr/share/tomcat
- 
						The jws5-tomcat-webappspackage doesn’t include the examples webapps, for security purposes
- 
						The jws5-tomcat-webappspackage drops its dependency onjakarta-taglibs-standardwhich was needed by examples (not shipped).
- The Tomcat version is Tomcat 9 instead of Tomcat 7. See the Tomcat Migration Guides for help migrating your Tomcat version.
- 
						The systemd service unit’s named changed from tomcattojws5-tomcat, but functions the same.
- 
						The jws5-tomcatpackage increases the minor version of java required from version 7 to version 8.
- 
						The jws5-tomcatpackage drops the previous dependencies onapache-commons-daemon,apache-commons-logging,apache-commons-collections,apache-commons-pool, andapache-commons-dbcp.
- 
						The jws5-tomcatpackage drops jsvc support. *Thejws5-tomcatpackage drops the RHEL ECJ version requirement and replaces it with a requirement for thejws5-ecjpackage (This is to get the minimum version required).
- 
						The jws5-tomcatpackage includes a new packagejws5-tomcat-selinuxwhich is not installed by default. This means selinux is NOT enabled by default.
2.2. Build Dependencies
- 
						The jws5-tomcatpackage includes no patch files, it’s built from our own fork.
- 
						The jws5-tomcatpackage drops several build time dependencies while adding a few build dependencies from JBCS (these only matter if customers want to rebuild the RPM, which isn’t supported).
2.3. JWS-5 Features Not Available In Tomcat 7 From RHEL 7
- Access to use Tomcat-Native
- Access to use Tomcat-Vault
- Access to JBCS httpd, which is utilized as a load balancer for Tomcat
- Access to use mod_cluster as a load balancer of httpd
- Access to JWS zips to use instead of the RPM distribution, allows for running multiple instances of Tomcat.
2.4. Using Tomcat 9 From JWS-5 on RHEL
Once you have the JWS/Runtimes SKU, then you can execute the commands given in the Managing JBoss Web Server on Red Hat Enterprise Linux section of this installation guide.