Workflow based on JBoss and MySQL environment configuration

xiaoxiao2021-03-06  59

1 Writing

In order to make everyone master the workflow platform JBoss and MySQL environment configuration procedure, so that you should reduce unnecessary time during the environment, put more energy into specific development, so write this document.

2 start configuration

2.1 JBoss and mysql version

JBoss currently use jboss-

3.2.5

version

MySQL is currently using mysql-

4.0.13

version

(Other versions we are still trying)

2.2 JBoss and mysql installation

Get the version of JBoss and MySQL, see the website www.jboss.org

Www.mysql.com

After obtaining JBOS, after the Direct decompression, place the C drive directly below the directory (c: //)

After getting MySQL decompression, perform the installer, select the default path installation (C: // mysql).

2.3 Drivers that need to be added

Let's take the mysql driver (ie mysql-connector-java-

3.0.14

)add to

Under LIB (ie C: / JBoss-

3.2.5

/ Server / default / lib).

2.4 Engine and applications that need to be added

We put the engine bag (WFENGINE.jar) and the application we need to deploy (deployproj

Web.war, jbsemms.war to copy in the directory (C: / JBoss-

3.2.5

/ server / default / deploy).

2.5 Add a data source

Add a MySQL-DS file to the directory (C: / JBoss-

3.2.5

/ server / default / deploy

2.6 About font

Modify the file (C: / JBoss-

3.2.3

/Server/default/conf ?standerdjbosscmp-jdbc.xml

java.lang.string

VARCHAR

VARCHAR (250) // Remove Binary

2.7 required configuration files

Appserver.prop dbconnect.prop jbmmsconnect.prop wfdbconnect.prop

My.cnf places them under the C: // Plan directory. (Consider improvement)

3 establish a database

3.1 Creating a database

First add Mysql's path to environment variables.

If the service is already started, you need to stop Mysql service, computer management -> service -> mysql

At restarting, it will load C: //my.cnf to set the default font.

Establish engine database ENGINEDB;

> mysql -u root

> CREATE DATABASE ENGINEDB;

Establish application database JBMMS;

> CREATE DATABASE JBMMS;

3.2 Write the initial data

Start JBoss Application Server at this time, C: / jboss-

3.2.5

/ BIN / RUN

Automatically create the table structure of the engineDB library, then we write to the initial data,

Execute script: Insert_ConnectorPattern.sql

INSERT_IDMAKER.SQL

INSERT_TYPEDEF.SQL

Version_tools_mysql.sql

Create a table structure and initial data for the JBMMS database,

Execute script: jbmms_mysql.sql

4 model file deployment

Http: // localhost: 8080 / deployprojweb / index.jsp Start deployment: First deploy the organization model,

Deployment process model.

Deployment success: Complete the deployment.

5 application system

Http: // localhost: 8080 / jbsemms / common / jsp / logon.jsp

Start app, test the workflow platform.

appendix

The required procedures and files see Workflow folder

转载请注明原文地址:https://www.9cbs.com/read-109054.html

New Post(0)