Chapter 2. New features and enhancements
Red Hat JBoss Web Server 6.2 includes the following new features and enhancements.
- Java 25 support
JBoss Web Server 6.2 is now certified for use with Red Hat build of OpenJDK 25 and Oracle JDK 25.
NoteJava 25 is now fully tested and supported for both RPM package and archive file distributions of JBoss Web Server 6.2.
- Uninstallation script for archive file distributions on RHEL
JBoss Web Server 6.2 provides a
JWS_HOME/tomcat/.uninstall-jwsscript that you can use to uninstall Red Hat JBoss Web Server if it was installed from an archive file distribution on RHEL.The usage string for the .uninstall-jws script is as follows:
sudo ./.uninstall-jws [--yes] [--purge] [--purge-user] [--kill-user-procs] [--remove-sysconfig]
sudo ./.uninstall-jws [--yes] [--purge] [--purge-user] [--kill-user-procs] [--remove-sysconfig]Copy to Clipboard Copied! Toggle word wrap Toggle overflow Consider the following usage information:
-
Use of the
.uninstall-jwsscript requiressudoprivileges. - This script is only available for use with archive file distributions on RHEL. It is not available for use with RPM package distributions on RHEL or archive file distributions on Windows.
-
If you have chosen to manage your JBoss Web Server installation from the command line instead of running the
.postinstall/systemdscript, you can still use the.uninstall-jwsscript. In this situation, the.uninstall-jwsscript can remove those parts of the installation that match the.postinstall/systemddefault setup. However, the uninstallation script will skip removal of any parts of the installation that differ from the default setup. When you run the
.uninstall-jwsscript, it always attempts to perform the following tasks:- Stop the service (if found).
- Remove service files (if found).
-
Remove the
jws6-tomcat.conffile (if found). - Remove the SELinux module (if found).
You can also specify the following options to instruct the script to perform additional actions:
-
Specify the
--purgeoption to delete the<JWS_HOME>directory. -
Specify the
--purge-useroption to delete thetomcatuser and group. -
Specify the
--kill-user-procsoption to stop any remaining processes for thetomcatuser before user removal. (This action requires that you also specify the--purge-useroption.) -
Specify the
--remove-sysconfigoption to remove the/etc/sysconfig/jws6-tomcatdirectory (if present).
-
Specify the
By default, the
.uninstall-jwsscript displays confirmation prompts to request your approval before it performs any destructive operations, such as deleting the<JWS_HOME>directory or thetomcatuser and group. If you want to disable prompts, specify the--yesoption.For example, if you run
sudo ./.uninstall-jws --purge, the script prompts you for your approval before it deletes the<JWS_HOME>directory. Conversely, if you runsudo ./.uninstall-jws --yes --purge, the script automatically deletes the<JWS_HOME>directory without prompting you.
-
Use of the
- JWS for OpenShift images on UBI 9 (Technology Preview)
JBoss Web Server 6.2 introduces JWS for OpenShift images that are built on Universal Base Image (UBI) 9 as a Technology Preview feature.
For more information about importing the
jboss-webserver62-openjdk17-tomcat10-openshift-ubi9orjboss-webserver62-openjdk21-tomcat10-openshift-ubi9image, see the RHEA-2026:2820 advisory.ImportantJWS for OpenShift images built on UBI 9 are a Technology Preview feature only in this release. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.