1 Reply Latest reply on Nov 2, 2005 8:15 PM by 843833

    Linux Install J2EE Cannot bind to URL [rmi://fabulous.belkin:8686 ...

    843833
      I've installed j2eesdk-1_4_02_2005Q2-linux.bin onto my fedora core 4 installation as root into /usr/java/j2ee1.4.2/SUNWappserver when then starting the server with:

      sudo /usr/java/j2ee1.4.2/SUNWappserver/bin/asadmin start-domain domain1

      as instructed in the final instructions of the installer the following error occurs during startup:
      [#|2005-11-02T19:43:49.160+0000|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@13bc99b cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://fabulous.belkin:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: fabulous.belkin; nested exception is:
              java.net.NoRouteToHostException: No route to host]|#]

      And the whole system then shuts down again. Has anyone got any suggestions of what i could do to initialise the system. Could it have something to do with conflicts with the J2SE of Java 1.5 in /usr/java/jdk1.5.0_05 (java, javac, javah, jar, appletviewer have all been symbolicly linked into the path in /usr/bin)

      Thanks

      Christopher

      --------------------------------------------------------------------------------------------------------------------
      FULL STACK TRACE OF ERROR
      --------------------------------------------------------------------------------------------------------------------
      [#|2005-11-02T19:43:45.651+0000|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]

      [#|2005-11-02T19:43:49.160+0000|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@13bc99b cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://fabulous.belkin:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: fabulous.belkin; nested exception is:
              java.net.NoRouteToHostException: No route to host]|#]

      [#|2005-11-02T19:43:49.160+0000|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
      com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://fabulous.belkin:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: fabulous.belkin; nested exception is:
              java.net.NoRouteToHostException: No route to host]
      at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:101)
      at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
      at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
      at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
      Caused by: java.io.IOException: Cannot bind to URL [rmi://fabulous.belkin:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: fabulous.belkin; nested exception is:
              java.net.NoRouteToHostException: No route to host]
      at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
      at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
      at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:173)
      at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:93)
      ... 3 more
      Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: fabulous.belkin; nested exception is:
              java.net.NoRouteToHostException: No route to host]
      at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
      at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
      at javax.naming.InitialContext.bind(InitialContext.java:359)
      at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
      at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
      ... 5 more
      Caused by: java.rmi.ConnectIOException: Exception creating connection to: fabulous.belkin; nested exception is:
      java.net.NoRouteToHostException: No route to host
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:587)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
      at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
      at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
      at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)
      ... 9 more
      Caused by: java.net.NoRouteToHostException: No route to host
      at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:525)
      at com.sun.enterprise.server.ss.ASClientSocketImpl.connect(ASClientSocketImpl.java:175)
      at java.net.Socket.connect(Socket.java:507)
      at java.net.Socket.connect(Socket.java:457)
      at java.net.Socket.<init>(Socket.java:365)
      at java.net.Socket.<init>(Socket.java:178)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
      ... 14 more
      |#]

      [#|2005-11-02T19:43:49.166+0000|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]

      [#|2005-11-02T19:43:49.166+0000|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]

      [#|2005-11-02T19:43:49.166+0000|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :
      com.sun.appserv.server.ServerLifecycleException
      at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:118)
      at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
      at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
      at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
      |#]

      [#|2005-11-02T19:43:49.167+0000|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]