1 Reply Latest reply on Jul 24, 2003 1:19 AM by ansarim

    Problem starting JBoss 3.2.1

    ansarim

      Hi,
      i have a strange problem which getting on my nerves !
      I'm using JBoss 3.2.1 with embedded Tomcat and i have problem when i try to start the server.
      Sometimes, after restarting my computer many times, i do not encounter this error anymore...so i don't know shere it comes from !
      This is the error :

      shutdown: unused non-option argument: 127.0.0.1
      shutdown: unused non-option argument: 8080
      09:08:39,929 WARN [NamingContext] Failed to connect to localhost:1099
      javax.naming.CommunicationException: Failed to connect to server localhost:1099. Root exception is
      javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099. Root exception is
      java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:426)
      at java.net.Socket.connect(Socket.java:376)
      at java.net.Socket.(Socket.java:291)
      at java.net.Socket.(Socket.java:199)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:187)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1116)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.Shutdown.main(Shutdown.java:180)
      javax.naming.CommunicationException: Receive timed out. Root exception is java.net.SocketTimeoutException: Receive timed out
      at java.net.PlainDatagramSocketImpl.receive(Native Method)
      at java.net.DatagramSocket.receive(DatagramSocket.java:671)
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1038)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1127)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.Shutdown.main(Shutdown.java:180)
      Exception in thread "main"


      i don't know why it can't access to localhost with an "access denied" !

      thanks for support

        • 1. Re: Problem starting JBoss 3.2.1
          ansarim

          this is the error when trying to start jboss

          PS : i'm working with Eclipse and Lomboz !

          09:15:59,665 WARN [NamingContext] Failed to connect to localhost:1099
          javax.naming.CommunicationException: Failed to connect to server localhost:1099. Root exception is
          javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099. Root exception is
          java.net.ConnectException: Connection refused: connect
          at java.net.PlainSocketImpl.socketConnect(Native Method)
          at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
          at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
          at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
          at java.net.Socket.connect(Socket.java:426)
          at java.net.Socket.connect(Socket.java:376)
          at java.net.Socket.(Socket.java:291)
          at java.net.Socket.(Socket.java:199)
          at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
          at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
          at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:187)
          at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1116)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
          at javax.naming.InitialContext.lookup(InitialContext.java:347)
          at org.jboss.naming.Util.createSubcontext(Util.java:49)
          at org.jboss.naming.Util.rebind(Util.java:107)
          at org.jboss.naming.Util.rebind(Util.java:95)
          at org.jboss.invocation.http.server.HttpInvoker.startService(HttpInvoker.java:108)