You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

If you get an error like this

[ERROR] ManagementContext - -Could not start the remote: JMX ConnectorServer <java.io.IOException: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: localhost; nested exception is:

        java.net.SocketException: Invalid argument or cannot assign requested address]>java.io.IOException: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: localhost; nested exception is:

        java.net.SocketException: Invalid argument or cannot assign requested address] 
        at mx4j.remote.resolver.rmi.RMIResolver.bindServer(RMIResolver.java:198) 

Then its probably that you're on Java 1.4 and you have an existing process using the RMI naming server which clashes with mx4j. One fix is to move to Java 5 which doesn't have this problem - or try stop the other process.

  • No labels