You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by miggety <mw...@gmail.com> on 2011/08/18 21:59:07 UTC
Problem starting ServiceMix
Hey all, I'm having a problem when I try to start up ServiceMix. From my
installation folder i'm running ./bin/servicemix and then getting the
following error. I'm not sure how to begin troubleshooting as i'm extremly
to new to this. If there's any information that i can provide to help
troubleshoot, just let me know. Thanks!
Mike
karaf@root> Exception in thread "JMX Connector Thread
[service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root]"
java.lang.RuntimeException: Could not start JMX connector server
at
org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:104)
Caused by: java.io.IOException: Cannot bind to URL
[rmi://localhost:1099/karaf-root]: javax.naming.CommunicationException [Root
exception is java.rmi.ConnectIOException: non-JRMP server at remote
endpoint]
at
javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
at
org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:102)
Caused by: javax.naming.CommunicationException [Root exception is
java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
at
com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
at javax.naming.InitialContext.bind(InitialContext.java:400)
at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
... 1 more
Caused by: java.rmi.ConnectIOException: non-JRMP server at remote endpoint
at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:230)
at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
... 5 more
--
View this message in context: http://servicemix.396122.n5.nabble.com/Problem-starting-ServiceMix-tp4713251p4713251.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Problem starting ServiceMix
Posted by miggety <mw...@gmail.com>.
Thanks for the help everyone, that indeed was the problem, i had something
already occupying that port. Once I shut it down i was able to start
ServiceMix with no problem.
--
View this message in context: http://servicemix.396122.n5.nabble.com/Problem-starting-ServiceMix-tp4713251p4717101.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Problem starting ServiceMix
Posted by lung12 <lu...@yahoo.com>.
You may switch to use another port number like 1077 or 1066 or something like
that without being used.
The location to change is:
apache-servicemix-4.3.0\etc\org.apache.karaf.management.cfg
rmiRegistryPort = 1077
Hope this helps!
--
View this message in context: http://servicemix.396122.n5.nabble.com/Problem-starting-ServiceMix-tp4713251p4716481.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Problem starting ServiceMix
Posted by Marcelo Jabali <mj...@fusesource.com>.
Hi Mike,
The exception suggests that port 1099 is already in use by another process in your machine and the JMX server inside ServiceMix could not be started.
Hope this helps,
-Marcelo
On Aug 18, 2011, at 12:59 PM, miggety wrote:
> Hey all, I'm having a problem when I try to start up ServiceMix. From my
> installation folder i'm running ./bin/servicemix and then getting the
> following error. I'm not sure how to begin troubleshooting as i'm extremly
> to new to this. If there's any information that i can provide to help
> troubleshoot, just let me know. Thanks!
>
> Mike
>
> karaf@root> Exception in thread "JMX Connector Thread
> [service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root]"
> java.lang.RuntimeException: Could not start JMX connector server
> at
> org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:104)
> Caused by: java.io.IOException: Cannot bind to URL
> [rmi://localhost:1099/karaf-root]: javax.naming.CommunicationException [Root
> exception is java.rmi.ConnectIOException: non-JRMP server at remote
> endpoint]
> at
> javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
> at
> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
> at
> org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:102)
> Caused by: javax.naming.CommunicationException [Root exception is
> java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
> at
> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
> at
> com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
> at javax.naming.InitialContext.bind(InitialContext.java:400)
> at
> javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
> at
> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
> ... 1 more
> Caused by: java.rmi.ConnectIOException: non-JRMP server at remote endpoint
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:230)
> at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
> at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
> at
> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
> ... 5 more
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Problem-starting-ServiceMix-tp4713251p4713251.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Problem starting ServiceMix
Posted by aj...@virginia.edu.
Do you have any other Java process on your system that might be using that port?
(On a Linux box, you could check with 'netstat -a | grep 1099'.)
---
A. Soroka
Online Library Environment
the University of Virginia Library
On Aug 18, 2011, at 3:59 PM, miggety wrote:
> Hey all, I'm having a problem when I try to start up ServiceMix. From my
> installation folder i'm running ./bin/servicemix and then getting the
> following error. I'm not sure how to begin troubleshooting as i'm extremly
> to new to this. If there's any information that i can provide to help
> troubleshoot, just let me know. Thanks!
>
> Mike
>
> karaf@root> Exception in thread "JMX Connector Thread
> [service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root]"
> java.lang.RuntimeException: Could not start JMX connector server
> at
> org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:104)
> Caused by: java.io.IOException: Cannot bind to URL
> [rmi://localhost:1099/karaf-root]: javax.naming.CommunicationException [Root
> exception is java.rmi.ConnectIOException: non-JRMP server at remote
> endpoint]
> at
> javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
> at
> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
> at
> org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:102)
> Caused by: javax.naming.CommunicationException [Root exception is
> java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
> at
> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
> at
> com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
> at javax.naming.InitialContext.bind(InitialContext.java:400)
> at
> javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
> at
> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
> ... 1 more
> Caused by: java.rmi.ConnectIOException: non-JRMP server at remote endpoint
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:230)
> at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
> at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
> at
> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
> ... 5 more
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Problem-starting-ServiceMix-tp4713251p4713251.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.