0 Replies Latest reply on Jun 6, 2010 11:30 AM by Suman Saha

    jboss esb 4.8 jboss as 5.1.0.GA

    Suman Saha Newbie

      Hi All

      I'm a new bee in ESB. Installed ESB in jboss 5.1.0 GA. Couldn't run sample program "helloworld"

      into my jboss as using ant after deployment.

      1. I'm using windows XP and my application server location is in "c:\jboss" and esb & related files

      has been installed in "C:\jboss\server\default\deploy"

      2. I can access "http://localhost:8080/" after starting JBoss as.

      3. Deployed program is in "C:\jboss\server\default\deploy\Quickstart_helloworld.esb"

      I'm getting following error:

      *************

      runtest:
           [echo] Runs Test JMS Sender
           [java] Exception in thread "main" javax.naming.CommunicationException: Could not obtain connect
      ion to any of these urls: 127.0.0.1:1099 and discovery failed with error: javax.naming.Communication
      Exception: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
      [Root exception is 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]]]
           [java]     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1763)
           [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693)
           [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
           [java]     at javax.naming.InitialContext.lookup(InitialContext.java:392)
           [java]     at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage.setupConnecti
      on(SendJMSMessage.java:52)
           [java]     at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage.main(SendJMSM
      essage.java:81)
           [java] Caused by: javax.naming.CommunicationException: Failed to connect to server /127.0.0.1:1
      099 [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]]
           [java]     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:335)
           [java]     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1734)
           [java]     ... 5 more
           [java] Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server /127.0.
      0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]
           [java]     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:305)
           [java]     ... 6 more
           [java] Caused by: java.net.ConnectException: Connection refused: connect
           [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
           [java]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
           [java]     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
           [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
           [java]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
           [java]     at java.net.Socket.connect(Socket.java:519)
           [java]     at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
           [java]     at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
           [java]     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:301)
           [java]     ... 6 more

      *******************

       

      Please help.