JBPM6 installation and configuration tutorial

Source: Internet
Author: User
Tags jbpm

JBPM6 installation and configuration tutorial

Because JBPM6 is the latest version! Therefore, you can set up one by yourself by reading some information on the Internet! Here are the installation and configuration steps!

1. download the latest version of Apache-ANT-1.9.3 from the apache official website.

Decompress (: http://ant.apache.org/bindownload.cgi) After download and configure the environment variable ANT_HOME = D: \ apache-ant-1.9.3 (system variable ---- New) path = % ANT_HOME %/bin; (system variable ------ add to path. If there are other variables that need to be separated by ";", run CMD and enter ant-version to check whether the installation is successful! If there is a message similar to "Unable to locate tools. jar. Expected to find it in C:/Program Files/Java/jre7/lib/tools. jar", you need to set ?? Copy tools. jar under the jdk/lib/directory ?? Under the jre7/lib/directory. Then execute ant-version.

2. Download and install M6

Jbpm-6.0.1.Final-installer-full

After downloading decompress (: http://sourceforge.net/projects/jbpm/) My unzipping directory is D: \ jbpm-installer via ant to install jbpm6 demo cmd to the unzipping Installation Directory D: \ jbpm-installer

Run the following command: ant install. emo:

Download JBoss AS download Eclipse install jBPM web tool to JBoss AS install jBPM and Drools Eclipse plug-in install BPMN2 Eclipse Modeler

This process is very long, because it needs to be downloaded, so it has something to do with the network speed. You have to install it after the download is complete! So please be patient! Wait until the word "build successful" appears and the installation is successful!

Download may fail due to network problems. In this case, you need to manually download related tools or plug-ins! After the installation is successful, you can use ant start. demo and start H2, Jboss, Eclipse, and demo in sequence. Then you can start development! Here you can also use another installation method, if you are using MyEclipse, you can download the package decompress, and then unzip the lib folder under the GEF-SDK-3.9.1, org. drools. updatesite-6.0.1.Final, put the jar package together into a plugins folder, and then put it under the dropins folder of MyEclipse installation directory, I think as long as it is installed MyEclipse plug-in, it will be this! So restart MyEclipse can be to establish a case project, but this time will report an error, because the lack of JBPM runtime environment, that is, the jbpm-6.0.1.Final-bin in this package of the east! Configuration is OK! Both methods are successful and the running case project is successful! If an error occurs while running the imported case project (the project contains human tasks )! For example:

Unknown entity: org. jbpm. services. task. audit. TaskEventImpl

At this time, when you create a ksession, add the following sentence:

Ksession. getWorkItemManager (). registerWorkItemHandler ("Human Task", new SystemOutWorkItemHandler (); this solves the problem! I have not encountered any other problems, so I will only mention this question here! Then you can build a case project to learn and develop it!

Official detailed explanation document address: http://docs.jboss.org/jbpm/v6.0.Beta2/userguide/ch.installer.html here there are some installation steps, as well as import (create) Demo project Demo Video, quite good! A friend with basic English reading ability can read this!

Jar package conflicts between JBPM4.4 and later versions deployed in Tomcat 6

JBPM workflow development guide PDF

JBPM Process instance (PV) Process Variables

JBPM Process Instance (PI) Process Instance

JBPM process deployment Validation

JBPM details: click here
JBPM: click here

This article permanently updates the link address:

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.