On 31/12/2018 15:12, John Larsen wrote:
> Hello,
> 
> Ever since we started using jdk10 and up we get this error message whenever
> we do ./shutdown.sh.
> 
> NOTE: Picked up JDK_JAVA_OPTIONS:
> --add-opens=java.base/java.lang=ALL-UNNAMED
> --add-opens=java.base/java.io=ALL-UNNAMED
> --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED

That is not an error message.

> We need to fix the issue or surpress the output. Any suggestions?

What issue?

That output is generated by the JVM. The options the message refers to
are set automatically by Tomcat when running on Java 9 or later to
prevent various features failing (mostly around memory leak detection
and prevention) due to the additional restrictions added in Java 9.

Mark


> 
> There is nothing in catalina.out about this either:
> 
> 31-Dec-2018 15:09:52.058 INFO [main]
> org.apache.catalina.core.StandardServer.await A valid shutdown command was
> received via the shutdown port. Stopping the Server instance.
> 31-Dec-2018 15:09:52.059 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["http-nio-8080"]
> 31-Dec-2018 15:09:52.066 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["ajp-nio-8009"]
> 31-Dec-2018 15:09:52.071 INFO [main]
> org.apache.catalina.core.StandardService.stopInternal Stopping service
> [Catalina]
> 31-Dec-2018 15:09:52.081 INFO [main]
> org.apache.catalina.core.ApplicationContext.log SessionListener:
> contextDestroyed()
> 31-Dec-2018 15:09:52.081 INFO [main]
> org.apache.catalina.core.ApplicationContext.log ContextListener:
> contextDestroyed()
> 31-Dec-2018 15:09:52.090 INFO [main]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["http-nio-8080"]
> 31-Dec-2018 15:09:52.092 INFO [main]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["ajp-nio-8009"]
> 31-Dec-2018 15:09:52.094 INFO [main]
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> ["http-nio-8080"]
> 31-Dec-2018 15:09:52.094 INFO [main]
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> ["ajp-nio-8009"]
> 
> Thanks,
> 
> John
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to