7 Replies Latest reply on Jul 29, 2013 10:43 AM by Anthony Dodd

    Running FuseESB inside FuseIDE fails to start - "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]" java.lang.RuntimeException: Could not start JMX connector server. (Permission denied: connect)

    Anthony Dodd Newbie

      I've using FuseIDE and have added a JBoss-Fuse-6.0.0 server. When I start this server I get the following error  "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]" java.lang.RuntimeException: Could not start JMX connector server. (Permission denied: connect)

       

      Exception in thread "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]" java.lang.RuntimeException: Could not start JMX connector server

                at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:252)

      Caused by: java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/karaf-root]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 0.0.0.0; nested exception is:

                java.net.SocketException: Permission denied: connect]

                at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:826)

                at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)

                at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:239)

      Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 0.0.0.0; nested exception is:

                java.net.SocketException: Permission denied: connect]

                at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:143)

                at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:226)

                at javax.naming.InitialContext.bind(InitialContext.java:419)

                at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:643)

                at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)

                ... 1 more

      Caused by: java.rmi.ConnectIOException: Exception creating connection to: 0.0.0.0; nested exception is:

                java.net.SocketException: Permission denied: connect

                at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:632)

                at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)

                at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)

                at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:340)

                at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)

                at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:137)

                ... 5 more

      Caused by: java.net.SocketException: Permission denied: connect

                at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)

                at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

                at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)

                at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

                at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)

                at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)

                at java.net.Socket.connect(Socket.java:579)

                at java.net.Socket.connect(Socket.java:528)

                at java.net.Socket.<init>(Socket.java:425)

                at java.net.Socket.<init>(Socket.java:208)

                at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)

                at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)

                at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)

                ... 10 more

       

      I don't see the FuseESB banner, and what console / shell is provided doesn't allow any interacrtion.

       

      If I run FUSE from the command line, I get the same error, but this time I do see the FuseESB banner, and I can interact with the console.

       

      I've used "netstat -a" to determine that port 1099 is not in use before starting FuseESB.

       

      I was wondering if anybody has seen a similar problem, the environment I'm running FuseESB on is.

       

      • Windows 7.0 (64bit)
      • Oracle jdk1.7.0_21 (64bit)  (both the ide & JAVA_HOME system variable point to this JDK)
      • jboss-fuse-full-6.0.0.redhat-024
      • FuseIDE-6.0.0.129-win32.win32.x86_64

       

      Any pointers would be greatly appreciated.

       

      Thanks in advance.

      Tony