Bootstrap FreeKB - Tomcat - Resolve "Unable to stop the remote JMX registry" in Tomcat
Tomcat - Resolve "Unable to stop the remote JMX registry" in Tomcat

Updated:   |  Tomcat articles

This error appears in the catalina.log.

Jun 03, 2018 3:40:25 AM com.springsource.tcserver.serviceability.rmi.JmxSocketListener stop
SEVERE: Unable to stop the remote JMX registry.

 

This may be due to a network issue.

Caused by: java.net.SocketException: Network is unreachable

 

This may also cause the JVM to be stopped.

Jun 03, 2018 3:40:25 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina

 

When a connection to JMX is successfully, you would see this event in catalina.log.

Jun 03, 2018 3:40:25 AM com.sprintsource.tcserver.serviceability.rmi.JmxSocketListener init
INFO: Started up JMX registry on 127.0.0.1:12345 in 297 ms

 

As this error implies, there may be some network problem. In this example, the connection to JVM is on port 12345, so you want to make sure port 12345 is open. There may have been some issue on the JMX side. You can simply try to restart the JVM, and see if the network issue is intermittent.




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter e0986e in the box below so that we can be sure you are a human.