On 19 Aug 2005, at 17:44, Anagnost, Ted wrote:

Hi,

I get this error when running the Basic example:

../../bin/servicemix servicemix.xml

[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)
        at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:152)


That looks like MX4J can't start its RMI naming server - the port is probably in use by another process?

BTW an easy way to fix this is use Java 5 which avoids the need for MX4J then you don't hit these kinda issues.

Reply via email to