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.