Jbpm ant start. Human. Task

Source: Internet
Author: User
Tags jbpm

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 (the system cannot find the specified
.)
[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. nativeconstruct%cessorimpl. newinstance0 (native
Method)
[Java] At sun. Reflect. nativeconstruct%cessorimpl. newinstance (nativec
Onstructjavascessorimpl. 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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.