The osworkflow database configuration (mysql) is trapped by the osworkflow database configuration (mysql ).
I studied osworkflow today and want to run his example program to see the effect. As a result, a problem occurred in the configuration and database connection.
I use the mysql database, according
Bytes.
My configuration file is as follows:
1: modify server. xml in the conf directory of tomcat and add the following content:
Debug = "99" reloadable = "true" crossContext = "true" verbosity = "DEBUG">
Prefix = "OSWorkflow." suffix = ". log" timestamp = "true"/>
Auth = "Container"
Type = "javax. SQL. DataSource"/>
Factory
Org. apache. commons. dbcp. BasicDataSourceFactory
MaxActive
100
MaxIdle
30
MaxWait
10000
Username
Root
Password
DriverClassName
Org. gjt. mm. mysql. Driver
Url
Jdbc: mysql: // localhost: 3306/osworkflow? AutoReconnect = true
2: Configure osworkflow. xml (under the WEB-INF/classes directory) with the following content:
Value = "select count (*) + 1 from OS _wfentry"/>
3: Add propertyset. xml (under the WEB-INF/classes directory) with the following content:
4: modify web. xml with the following content:
OSWorkflow Example App
Default. jsp
OSWorkflow Example App
Jdbc/DefaultDS
Javax. SQL. DataSource
Container
5: copy jboss-j2ee.jar to the tomcat_home/common/endorsed Directory
6: Copy the driver to the tomcat_home/common/lib directory.
7. start tomcat but report the following error:
Severe: Parse error in application web. xml
Java. lang. NullPointerException