JWS 5 RPM shutdown throws warnings with Java 11

Solution Unverified - Updated -

Issue

  • Shutting down an RPM install of JWS 5 with java 11 results in the following warnings in /var/log/messages:
Aug  5 17:09:59 node-0 server: 05-Aug-2019 17:09:59.714 INFO [Thread-3] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
Aug  5 17:09:59 node-0 server: WARNING: An illegal reflective access operation has occurred
Aug  5 17:09:59 node-0 server: WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/opt/rh/jws5/root/usr/share/java/tomcat/catalina.jar) to field java.io.ObjectStreamClass$Caches.localDescs
Aug  5 17:09:59 node-0 server: WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
Aug  5 17:09:59 node-0 server: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Aug  5 17:09:59 node-0 server: WARNING: All illegal access operations will be denied in a future release
Aug  5 17:09:59 node-0 server: 05-Aug-2019 17:09:59.741 INFO [Thread-3] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
Aug  5 17:09:59 node-0 server: 05-Aug-2019 17:09:59.745 INFO [Thread-3] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
Aug  5 17:09:59 node-0 server: 05-Aug-2019 17:09:59.745 INFO [Thread-3] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
Aug  5 17:09:59 node-0 server: 05-Aug-2019 17:09:59.746 INFO [Thread-3] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
Aug  5 17:09:59 node-0 systemd: Stopped Apache Tomcat Web Application Container.

Environment

  • JBoss Enterprise Web Server (JWS) 5.x
    • Tomcat 9.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content