[jboss-user] [jBPM] - Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153

iahi1998 do-not-reply at jboss.com
Sun Feb 10 13:48:11 EST 2013


iahi1998 [https://community.jboss.org/people/iahi1998] created the discussion

"Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153"

To view the discussion, visit: https://community.jboss.org/message/796927#796927

--------------------------------------------------------------
I believe that this issue is just an artifact of Eclipse starting before JBoss completes it's startup sequence. I've realized there's a seconds to minutes gap between the end of "ant start.demo" and when JBoss finishes the startup. 

To check whether JBoss finised startup I ran:
tail -f jboss-as-7.1.1.Final/standalone/log/server.log
You will notice that lines keep getting appended to the log for quite a while after "ant stat.demo" finishes and Eclipse starts.

Futhermore, I ran:
$ netstat -c | grep 5153
to see when a service starts listening on 5153. Again, because of the delay in JBoss startup, it takes a while to see something like:
tcp6       0      0 localhost:53282         localhost:5153          ESTABLISHED
tcp6       0      0 localhost:5153          localhost:53282         ESTABLISHED

Once you see that the log doesn't have lines appended to it, and you see a service listening on 5153, you should be able to run the  http://docs.jboss.org/jbpm/v5.4/userguide/ch.installer.html#d0e481 10-Minute Tutorial: Using the Eclipse Tooling


My setup is jBPM 5.4.1 on Ubuntu Desktop 12.04, with Oracle Java 7, Apache-Ant 1.8.4. I followed the steps listed in  http://docs.jboss.org/jbpm/v5.4/userguide/ch.installer.html Chapter 3. Installer. The only modification required to build.xml was changing the url pointing to Eclipse from:
" http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-$ http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-${download.type}.${download.extension}"
to
"http://archive.eclipse.org/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-${download.type}.${download.extension}"

I hope this helps.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/796927#796927]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130210/75193e72/attachment.html 


More information about the jboss-user mailing list