Here is the stacktrace
DEBUG | Reason for failed jmx connector start | org.ap
ache.activemq.broker.jmx.ManagementContext | JMX connector
java.io.IOException: Cannot bind to URL [rmi://localhost:1099/jmxrmi]:
javax.nam
ing.NameAlreadyBoundException: jmxrmi [Root exception is
java.rmi.AlreadyBoundEx
ception: jmxrmi]
at
javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConn
ectorServer.java:818)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServ
er.java:431)
at
org.apache.activemq.broker.jmx.ManagementContext$1.run(ManagementCont
ext.java:131)
Caused by: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is
jav
a.rmi.AlreadyBoundException: jmxrmi]
at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:1
39)
at
com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.jav
a:226)
at javax.naming.InitialContext.bind(InitialContext.java:417)
at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServe
r.java:639)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServ
er.java:426)
... 1 more
Caused by: java.rmi.AlreadyBoundException: jmxrmi
at sun.rmi.registry.RegistryImpl.bind(RegistryImpl.java:131)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:390
)
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:248)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
35)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspor
t.java:790)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:649)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:273)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
251)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:377)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:1
37)
... 5 more-- View this message in context: http://activemq.2283324.n4.nabble.com/JMX-Connector-problems-tp2346442p4670430.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
