Title: Can't run Basic

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)
        at org.servicemix.jbi.management.ManagementContext.findMBeanServer(ManagementContext.java:619)
        at org.servicemix.jbi.management.ManagementContext.init(ManagementContext.java:173)
        at org.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:327)
        at org.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:31)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:966)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:358)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
        at org.jencks.JCAContainer.afterPropertiesSet(JCAContainer.java:77)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:966)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:358)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:312)
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:82)

        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:67)

        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:58)

        at org.servicemix.Main.main(Main.java:56)


I also get these every 30 seconds

[INFO] ActiveMQAsfEndpointWorker - -Endpoint connection to JMS broker failed: Initialization of TcpTransportChannel failed. URI was: tcp://localhost:61616 Reason: java.net.SocketException: Invalid argument or cannot assign requested address

[INFO] ActiveMQAsfEndpointWorker - -Endpoint will try to reconnect to the JMS broker in 30 seconds
[INFO] ActiveMQAsfEndpointWorker - -Endpoint connection to JMS broker failed: Initialization of TcpTransportChannel failed. URI was: tcp://localhost:61616 Reason: java.net.SocketException: Invalid argument or cannot assign requested address

[INFO] ActiveMQAsfEndpointWorker - -Endpoint will try to reconnect to the JMS broker in 30 seconds

Everything else in the log looked ok, no exceptions.

Please advise, thanks!

Ted

Reply via email to