jbpm ant start.human.task

start.human.task:
    [javac] H:\study\jbpm\build.xml:864: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
     [java] 0    20/01 10:51:07,953[main] ERROR task.identity.DefaultUserGroupCallbackImpl.<init>  - Error when loading group information for callback from location: file:null/roles.properties
     [java] java.io.FileNotFoundException: null\roles.properties (系统找不到指定
的路径。)
     [java]     at java.io.FileInputStream.open(Native Method)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:138)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:97)
     [java]     at sun.net.www.protocol.file.FileURLConnection.connect(FileURLCo
nnection.java:90)
     [java]     at sun.net.www.protocol.file.FileURLConnection.getInputStream(Fi
leURLConnection.java:188)
     [java]     at java.net.URL.openStream(URL.java:1035)
     [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:57)
     [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:45)
     [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:52
5)
     [java]     at java.lang.Class.newInstance0(Class.java:372)
     [java]     at java.lang.Class.newInstance(Class.java:325)
     [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 ...





I finally got the human task service working, I made the foloowing changes in build.xml

 

   <java classname="org.jbpm.DemoTaskService" fork="true"> 

        <sysproperty key="jbpm.user.group.mapping" value="file:///C:/work/jbpm-installer/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>


评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值