Restarting tomcat service gives "WARNING: An illegal reflective access operation has occurred" message.
Issue
-
A warning message occurs post restart of
Tomcat service
:Jul 15 12:47:18 satellite.example.com server[6103]: WARNING: An illegal reflective access operation has occurred Jul 15 12:47:18 satellite.example.com server[6103]: WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase$1 (file:/usr/share/java/tomcat/catalina.jar) to method java.lang.ClassLoader.registerAsParallelCapable() Jul 15 12:47:18 satellite.example.com server[6103]: WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase$1 Jul 15 12:47:18 satellite.example.com server[6103]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations Jul 15 12:47:18 satellite.example.com server[6103]: WARNING: All illegal access operations will be denied in a future release
Environment
- Red Hat Satellite 6.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.