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.

Note

Java 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-jws script 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]
Copy to Clipboard Toggle word wrap

Consider the following usage information:

  • Use of the .uninstall-jws script requires sudo privileges.
  • 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/systemd script, you can still use the .uninstall-jws script. In this situation, the .uninstall-jws script can remove those parts of the installation that match the .postinstall/systemd default 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-jws script, it always attempts to perform the following tasks:

    • Stop the service (if found).
    • Remove service files (if found).
    • Remove the jws6-tomcat.conf file (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 --purge option to delete the <JWS_HOME> directory.
    • Specify the --purge-user option to delete the tomcat user and group.
    • Specify the --kill-user-procs option to stop any remaining processes for the tomcat user before user removal. (This action requires that you also specify the --purge-user option.)
    • Specify the --remove-sysconfig option to remove the /etc/sysconfig/jws6-tomcat directory (if present).
  • By default, the .uninstall-jws script displays confirmation prompts to request your approval before it performs any destructive operations, such as deleting the <JWS_HOME> directory or the tomcat user and group. If you want to disable prompts, specify the --yes option.

    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 run sudo ./.uninstall-jws --yes --purge, the script automatically deletes the <JWS_HOME> directory without prompting you.

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-ubi9 or jboss-webserver62-openjdk21-tomcat10-openshift-ubi9 image, see the RHEA-2026:2820 advisory.

Important

JWS 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.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top