Startup of task service
dmwpepper Mar 7, 2013 5:01 PMI'm following directions in the install.html document in the jbpm install directory that says how to install jbpm without the demo, "Manually installing the different components". When I got to the part about starting up task service (ant start.human.task), the task service doesn't execute in the background. Is the service hung, waiting for something, or is the service supposed to run in the foreground? If the latter, the instructions don't indicate that this will happen. The message is
C:\jbpm>ant start.human.task
Buildfile: C:\jbpm\build.xml
start.human.task:
[mkdir] Created dir: C:\jbpm\task-service\target
[javac] C:\jbpm\build.xml:864: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 1 source file to C:\jbpm\task-service\target
[copy] Copying 5 files to C:\jbpm\task-service\target
[java] 0 07/03 14:05:08,123[main] ERROR task.identity.DefaultUserGroupCallbackImpl.<init> - Error when loading group information for callback from location: file:null/roles.pro
perties
[java] java.io.FileNotFoundException: null\roles.properties (The system cannot 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(FileURLConnection.java:70)
[java] at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
[java] at java.net.URL.openStream(URL.java:1010)
[java] at org.jbpm.task.identity.DefaultUserGroupCallbackImpl.<init>(DefaultUserGroupCallbackImpl.java:55)
[java] at org.jbpm.task.identity.DefaultUserGroupCallbackImpl.<init>(DefaultUserGroupCallbackImpl.java:40)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[java] at java.lang.Class.newInstance0(Class.java:357)
[java] at java.lang.Class.newInstance(Class.java:310)
[java] at org.jbpm.task.identity.UserGroupCallbackManager.setCallbackFromProperties(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 ...
The services hangs at this point and doesn't return the command prompt, but appears to be running.
The problem appears to be that is was looking for the roles.properties file in jbpm/auth/, but couldn't create the path.