Inkfish original, do not reprint commercial nature, reproduced please indicate the source (http://blog.csdn.net/inkfish).
JBPM is an open source workflow software, the backstage boss is JBoss. Following the November 5, 2009 jbpm 4.2 release, December 29, 2009 jbpm 4.3 debut, and JBPM 4.4 is scheduled to be released on March 1, 2010. (Source: Http://blog.csdn.net/inkfish)
To get a quick start on jbpm 4.3, here's how to install the demo setup samples that are deployed with JBPM. (Source: Http://blog.csdn.net/inkfish)
I. Installation objectives (Source: http://blog.csdn.net/inkfish)
We want the environment to be: tomcat6.0.20 for the Web server, MySQL 5.1.11 for the database, Eclipse 3.5 SR1 for the editor, build a JBPM environment and install demo setup via JBPM's own scripts.
two. Necessary predecessors (Source: http://blog.csdn.net/inkfish)
1. Confirm JDK version above 1.5, ant version above 1.7;
2. Download jbpm (download address);
3. Extract to the local disk, and then see the following directory tree structure:
${jbpm.home} (here with ${jbpm.home} for jbpm extracted root directory, same below)
├─doc user manual, S Hema Docs, Javadocs, the development manual
├─examples Some of the examples mentioned in the user's manual
├─install installation scripts in several environments
├─lib third-party libraries and some special JBPM class libraries ├─migration details please refer to the development manual
├─src source
└─jbpm.jar jbpm Core class library
4. Download the MySQL database server and install and perform the basic configuration, and set up the target data Library (version 5.1 is not limited, here to the older 5.1.11 as an example, download the address, if you want to use HSQLDB can ignore this step);
5. Download tomcat 6.0.20 (download address), put it in ${jbpm.home}/install/ Downloads
6. Download the Eclipse 3.5 sr1,eclipse IDE for Java EE Developers or Eclipse IDE for Java and the developers version (download address ), placed under ${jbpm.home}/install/downloads;
Note: 5, 62 steps for Non-essential but recommended step, if no 5, 62 steps, JBPM will automatically download from the Internet, but as for the speed ...
three. Specific installation steps (Source: http://blog.csdn.net/inkfish)
1. Open install/build.xml with text editing software
1.1<property name= "Database" value= "hsqldb"/> Line "hsqldb" changed to "MySQL" (if you want to use the default hsqldb can not modify);
1.2<condition property= "Eclipse.filename" value= "Eclipse-jee-galileo-win32.zip" > The eclipse file name in a row is changed to: Eclipse-reporting-galileo-sr1-win32.zip (the exact name is the same as the downloaded eclipse)
2. Modify the Install/jdbc/mysql.properties file, set the appropriate parameters (if the use of HSQLDB can ignore this step);
3. Run command in command line mode: Ant Demo.setup.tomcat
4. Eclipse will open after running, please close eclipse, otherwise the script does not count for the run completion.
This demo setup is finished, verify that the demo Setup runs successfully can log on to the Signavio web Editor or the JBPM console, and the system default username is: Alex, Mike, Peter, Mary, The default passwords are: password. (Source: Http://blog.csdn.net/inkfish)
The following tasks were performed while the script was running:
1. Install tomcat to ${jbpm.home}/apache-tomcat-6.0.20 directory;
2. Install jbpm to Tomcat;
3. creating in MySQL JBPM required tables;
4. Start Tomcat in the background
5. Create a business package called Examples.bar from examples and deploy it to JBPM DB;
6. From ${jbpm.home}/install /src/demo/example.identities.sql Load example users and user groups;
7. Install eclipse to ${jbpm.home}/eclipse;
8. Install JBPM Web Console;
9 . Install the Signavio Web module;
10. Start Eclipse. (Source: Http://blog.csdn.net/inkfish)