2 Replies Latest reply on Aug 24, 2004 4:54 PM by Murlidhar Loka

    Configuring JBOSS (3.2.5) to run within Eclipse(3.0)

    Murlidhar Loka Newbie

      I installed JBOSS/Eclipse and completed the configuration steps required.

      From within Eclipse when I try "MyBank" "Debug Server" - I don't get any output in the console.

      Am I missing anything in my setup/configuration.
      Thanks in advance.


      I tried running the "Client" as java application and get the following error:


      javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:109906:38:30,841 WARN [NamingContext] Failed to connect to 127.0.0.1:1099
      javax.naming.CommunicationException: Failed to connect to server 127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:213)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1185)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at test.Client.getHome(Client.java:29)
      at test.Client.testBean(Client.java:52)
      at test.Client.main(Client.java:79)
      Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:187)
      ... 7 more
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at java.net.Socket.(Unknown Source)
      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:183)
      ... 7 more

      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1198)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at test.Client.getHome(Client.java:29)
      at test.Client.testBean(Client.java:52)
      at test.Client.main(Client.java:79)






      LM.