How to install and configure the smart Workflow Management System

Source: Internet
Author: User
Tags jbpm

1) download the smart Workflow Management System

Method 1: For group users, go to "group sharing" to download three files: smart_forleave.rar smart_lib1.rar smart_lib2.rar. Download and decompress the package, and copy the. jar package in smart_lib1 and smart_lib2 to the d:/smart_forleave/webroot/WEB-INF/lib/directory of smart_lib2.

Method 2: Download http://sourceforge.net/project/showfiles.php from SF? Group_id = 124606.

Method 3: Download CVS: http://sourceforge.net/cvs? Group_id = 124606 the module name is smart_forleave.

2) install MySQL (or other databases ). I use MySQL 4.1. Other versions are also supported.

When installing MySQL, be sure to use the UTF-8 Character Set, otherwise there will be Chinese garbled problem. By default, you use port 3306. the root user's password is 123456. If this is the case, you do not need to change any configuration later.

3) Start MySQL. In the mysql client, create a database jbpm. At this time, there is no table in the database.

4) Find the D:/smart_forleave/SQL/smart. SQL file and run the following command in cmd:

Mysql-u root-p123456 jbpm <D:/smart_forleave/SQL/smart. SQL

In this way, the jbpm library has all the required initial data. Do not directly execute SQL commands in the file!

5) The server configuration is tested in Tomcat and resin. It is best to use our version or a version later than ours.

For resin3.0.13, the configuration is as follows:

<Web-app id = "/smart" document-directory = "D:/smart_forleave/webroot"/>

For tomcat5.0.19/tomcat5.0.28, create the smart. xml file in D:/tomcat 5.0/CONF/Catalina/localhost.

<Context Path = "/smart" docbase = "D:/smart_forleave/webroot"
DEBUG = "0" privileged = "true">

<! -- Link to the user database we will get roles from -->
<Resourcelink name = "users" Global = "userdatabase"
Type = "org. Apache. Catalina. userdatabase"/>

</Context>

I would like to thank "Citi" and "xibin" for their bug feedback on configuration testing. Now there is no Chinese Garbled text.

Tomcat5.5 has been deployed successfully. Because El language is used, Tomcat 5 or lower should not be supported.

6) start Tomcat and access http: // localhost: 8080/SMART/(adjust the port by yourself ).

By default, there are four users. Xiaowang is an ordinary employee, manager is a manager, boss is a boss, and HR is a human resources employee. No password.

There is already a "Leave for sale" process by default ". Run the interface to know.

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.