Resolve "Unable to stop the remote JMX registry" in Tomcat

Home > Search
  by

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.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




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




Comments