4 Replies Latest reply on Dec 3, 2007 7:33 AM by Meenakshi Khatri

    Problem in starting Jboss ESB helloworld example -->> Java c

    Meenakshi Khatri Newbie

      Hi All,

      I am trying to run the basic example of Jboss ESb i.e the helloworld example. whenever I call the command 'ant runtest' or 'ant run' i get the following error

      Exception in thread "Thread-2" Failed to exit forked process.
      at org.jboss.ant.QuickstartJava.signalExit(QuickstartJava.java:86)
      at org.jboss.ant.QuickstartJava.access$000(QuickstartJava.java:39)
      at org.jboss.ant.QuickstartJava$1.run(QuickstartJava.java:56)
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      at java.net.Socket.connect(Socket.java:519)
      at java.net.Socket.connect(Socket.java:469)
      at java.net.Socket.(Socket.java:366)
      at java.net.Socket.(Socket.java:179)
      at org.jboss.internal.soa.esb.util.Exit.signalExit(Exit.java:95)
      at org.jboss.ant.QuickstartJava.signalExit(QuickstartJava.java:84)
      ... 2 more
      --- Nested Exception ---
      java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      at java.net.Socket.connect(Socket.java:519)
      at java.net.Socket.connect(Socket.java:469)
      at java.net.Socket.(Socket.java:366)
      at java.net.Socket.(Socket.java:179)
      at org.jboss.internal.soa.esb.util.Exit.signalExit(Exit.java:95)
      at org.jboss.ant.QuickstartJava.signalExit(QuickstartJava.java:84)
      at org.jboss.ant.QuickstartJava.access$000(QuickstartJava.java:39)
      at org.jboss.ant.QuickstartJava$1.run(QuickstartJava.java:56)

      Also, before the above error in print in the command prompt, my Windows XP OS throws me an exception stating that my java has crash due to some reasons.
      The strange thing is that it works perfectly fine if I use Windows Server but it doesn't works in Windows XP... is it OS specific??? Can someone help me out in this problem?