roxy1987
2013-03-07 23:45:23 UTC
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion
"Re: Startup of task service"
To view the discussion, visit: https://community.jboss.org/message/801459#801459
--------------------------------------------------------------
Your task service is not getting started because your roles.properties file link. Just look for the following code snippet in your build.xml
<java classname="org.jbpm.DemoTaskService" fork="true">Â Â Â Â Â Â Â Â
     <classpath>
           <pathelement path="${install.home}/task-service/target"/>
           <path refid="classpath.human.task" />
     </classpath>
   </java>

And add the line *<sysproperty key="jbpm.user.group.mapping" value="file:///<+path of your jboss server+>/jboss-as-7.1.1.Final/standalone/configuration/roles.properties"/>Â like this :*
<sysproperty key="jbpm.user.group.mapping" value="file:///<+path of your jboss server+>/jboss-as-7.1.1.Final/standalone/configuration/roles.properties"/>
     <classpath>
           <pathelement path="${install.home}/task-service/target"/>
           <path refid="classpath.human.task" />
     </classpath>
   </java>

<java classname="org.jbpm.DemoTaskService" fork="true">Â Â Â Â Â Â Â Â
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/801459#801459]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
"Re: Startup of task service"
To view the discussion, visit: https://community.jboss.org/message/801459#801459
--------------------------------------------------------------
Your task service is not getting started because your roles.properties file link. Just look for the following code snippet in your build.xml
<java classname="org.jbpm.DemoTaskService" fork="true">Â Â Â Â Â Â Â Â
     <classpath>
           <pathelement path="${install.home}/task-service/target"/>
           <path refid="classpath.human.task" />
     </classpath>
   </java>

And add the line *<sysproperty key="jbpm.user.group.mapping" value="file:///<+path of your jboss server+>/jboss-as-7.1.1.Final/standalone/configuration/roles.properties"/>Â like this :*
<sysproperty key="jbpm.user.group.mapping" value="file:///<+path of your jboss server+>/jboss-as-7.1.1.Final/standalone/configuration/roles.properties"/>
     <classpath>
           <pathelement path="${install.home}/task-service/target"/>
           <path refid="classpath.human.task" />
     </classpath>
   </java>

<java classname="org.jbpm.DemoTaskService" fork="true">Â Â Â Â Â Â Â Â
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/801459#801459]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]