JBPM学习笔记2--Tomcat+MYSQL中运行jbpm-console
1)?????? 到jboss.org下载jbpm-jpdl-3.2.2
?
<hibernate-configuration> <session-factory> <!-- hibernate dialect --> <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property> <!-- JDBC connection properties (begin) --> <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpm32</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connection.password"></property> <!-- JDBC connection properties (end) --> <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property> <!-- DataSource properties (begin) == <property name="hibernate.connection.datasource">java:/JbpmDS</property> == DataSource properties (end) --> <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
?...?? ??
?
?
<?xml version='1.0' encoding='utf-8'?><tomcat-users> <role rolename="user"/> <role rolename="administrator"/> <role rolename="manager"/> <role rolename="sales"/> <role rolename="hr"/> <role rolename="admin"/> <role rolename="participant"/> <user username="ernie" password="ernie" roles="administrator,participant,sales,manager"/> <user username="user" password="user" roles="user,sales"/> <user username="shipper" password="shipper" roles="user,hr"/> <user username="manager" password="manager" roles="admin,hr,manager,user,sales"/> <user username="tadmin" password="" roles="admin,manager"/> <user username="admin" password="admin" roles="admin,user,hr"/></tomcat-users>
?
?
?
12)?? 启动tomcat
?
参阅的官方文档http://community.jboss.org/wiki/JbpmOnTomcat