+ Problem with the Helloworld Quickstart +
sisepago Dec 6, 2006 1:20 PMHello Kurt,
I try to use my new brand jbossesb installation with the Hello World QuickStart but this doesn't work fine. This is the trace after the start of the "ant run" task. I see that this is a connection problem.
can you tell me what I can do to solve this problem.
[echo] Basic JMS Gateway and Listener [java] 21:20:30,984 INFO [main][Launcher] args passed into Launcher: 3 [java] 21:20:31,000 INFO [main][Launcher] arg[0]=0 [java] 21:20:31,000 INFO [main][Launcher] arg[1]=C:\dev\workspace-2\jboss-esb\product\samples\quickstarts\helloworld_embedded_reg/../helloworld/esb-config.xml [java] 21:20:31,000 INFO [main][Launcher] arg[2]=C:\dev\workspace-2\jboss-esb\product\samples\quickstarts\helloworld_embedded_reg/../helloworld/esb- config-gateway.xml [java] 21:20:31,125 INFO [main][HsqldbUtil] creating db from this script: build/hsqldb [java] [Server@a97b0b]: [Thread[main,5,main]]: checkRunning(false) entered [java] [Server@a97b0b]: [Thread[main,5,main]]: checkRunning(false) exited [java] [Server@a97b0b]: Startup sequence initiated from main() method [java] [Server@a97b0b]: Loaded properties from [C:\dev\workspace-2\jboss-esb\product\samples\quickstarts\helloworld_embedded_reg\server.properties] [java] [Server@a97b0b]: Initiating startup sequence... [java] [Server@a97b0b]: [Thread[HSQLDB Server @a97b0b,5,main]]: run()/openServerSocket(): [java] java.net.BindException: Address already in use: JVM_Bind [java] [Server@a97b0b]: Initiating shutdown sequence... [java] at java.net.PlainSocketImpl.socketBind(Native Method) [java] [Server@a97b0b]: Shutdown sequence completed in 0 ms. [java] at java.net.PlainSocketImpl.bind (PlainSocketImpl.java:359) [java] at java.net.ServerSocket.bind(ServerSocket.java:319) [java] at java.net.ServerSocket.<init>(ServerSocket.java:185) [java] [Server@a97b0b]: 2006-12-05 21:20:31.312 SHUTDOWN : System.exit() is called next [java] at java.net.ServerSocket.<init>(ServerSocket.java:97) [java] at org.hsqldb.HsqlSocketFactory.createServerSocket(Unknown Source) [java] at org.hsqldb.Server.openServerSocket (Unknown Source) [java] at org.hsqldb.Server.run(Unknown Source) [java] at org.hsqldb.Server.access$000(Unknown Source) [java] at org.hsqldb.Server$ServerThread.run(Unknown Source)
Thanks.
###############
#-------------- reply of Kurt
Hi Serge,
Can you post on the forum next time? In the meantime I think you may have your 'wires crossed'. 'ant run' runs the esb is standalone mode (not deployed to the appserver). However you can use the appserver, by pasting in the configuration in the jbossesb-*.xml files.
It looks like you already have an instance of hsqldb running (Sockets already in use). If you do not shutdown the standalone esb propertly you end up with stray java processes. So they to kill them manually, before starting the standalone esb again.
Hope this helps.
--Kurt