The moose likes Distributed Java and the fly likes Cannot start JMX connector in glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Cannot start JMX connector in glassfish" Watch "Cannot start JMX connector in glassfish" New topic
Author

Cannot start JMX connector in glassfish

Rahman ziaur
Greenhorn

Joined: Mar 30, 2011
Posts: 21
Hi am getting the follwowing error when trying to execute my client Progarm

WARNING: Cannot start JMX connector: JmxConnector config: { name = system, Protocol = rmi_jrmp, Address = 0.0.0.0, Port = 8686, AcceptAll = false, AuthRealmName = admin-realm, SecurityEnabled = false}: java.lang.RuntimeException: Port 8686 is not available for the internal rmi registry. This means that a call was made with the same port, without closing earlier registry instance. This has to do with the system jmx connector configuration in admin-service element of the configuration associated with this instance
SEVERE: java.lang.RuntimeException: Port 8686 is not available for the internal rmi registry. This means that a call was made with the same port, without closing earlier registry instance. This has to do with the system jmx connector configuration in admin-service element of the configuration associated with this instance
at org.glassfish.admin.mbeanserver.RMIConnectorStarter._startRegistry(RMIConnectorStarter.java:240)
at org.glassfish.admin.mbeanserver.RMIConnectorStarter.startRegistry(RMIConnectorStarter.java:217)
at org.glassfish.admin.mbeanserver.RMIConnectorStarter.<init>(RMIConnectorStarter.java:152)
at org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.startConnector(JMXStartupService.java:240)
at org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.run(JMXStartupService.java:283)



while my ejb and client program both are deployed in the same JVM ..

Please help me to sort out this problem
Thanks in Advance
 
IntelliJ Java IDE
 
subject: Cannot start JMX connector in glassfish
 
Threads others viewed
OC4J :RMIConnection Disconnected
cannot restart tomcat
JNDI in Servlets
Deploy web apps on different ports
sun java application server start up failure
IntelliJ Java IDE