JBoss Community

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

created by Tom Tran in jBPM - View the full discussion

I run > ant start.human.task and I got following error:

 

C:\DevTools\jbpm-5.4.0-installer>ant start.human.task

Buildfile: build.xml

 

 

start.human.task:

     [java] 0    19/12 01:27:00,212[main] ERROR task.identity.DefaultUserGroupCa

llbackImpl.<init>  - Error when loading group information for callback from loca

tion: file:null/roles.properties

     [java] java.io.FileNotFoundException: null\roles.properties (The system can

not find the path specified)

     [java]     at java.io.FileInputStream.open(Native Method)

     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:120)

     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:79)

     [java]     at sun.net.www.protocol.file.FileURLConnection.connect(FileURLCo

nnection.java:70)

     [java]     at sun.net.www.protocol.file.FileURLConnection.getInputStream(Fi

leURLConnection.java:161)

     [java]     at java.net.URL.openStream(URL.java:1010)

     [java]     at org.jbpm.task.identity.DefaultUserGroupCallbackImpl.<init>(De

faultUserGroupCallbackImpl.java:55)

     [java]     at org.jbpm.task.identity.DefaultUserGroupCallbackImpl.<init>(De

faultUserGroupCallbackImpl.java:40)

     [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

     [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC

onstructorAccessorImpl.java:39)

     [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del

egatingConstructorAccessorImpl.java:27)

     [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:51

3)

     [java]     at java.lang.Class.newInstance0(Class.java:355)

     [java]     at java.lang.Class.newInstance(Class.java:308)

     [java]     at org.jbpm.task.identity.UserGroupCallbackManager.setCallbackFr

omProperties(UserGroupCallbackManager.java:69)

     [java]     at org.jbpm.DemoTaskService.main(Unknown Source)

     [java] Task service registered usergroup callback ...

     [java] Task service started correctly!

     [java] Task service running ...

     [java] Exception in thread "Thread-1" java.lang.RuntimeException: Could not

start human task server, address already in use, is it possible that another in

stance of the task server is already running?

     [java]     at org.jbpm.task.service.mina.BaseMinaTaskServer.run(BaseMinaTas

kServer.java:65)

     [java]     at java.lang.Thread.run(Thread.java:662)

 

 

BUILD SUCCESSFUL

Total time: 1 minute 2 seconds

C:\DevTools\jbpm-5.4.0-installer>

Reply to this message by going to Community

Start a new discussion in jBPM at Community