jBPM4.2 安装到tomcat 和 mysql上的步骤。并且创建一个最简单的应用

1.前提条件


已经安装好 jdk1.6,并且配置好

已经下载好jbpm4.2,并且解压。

已经安装好tomcat6

已经安装好 mysql5.1

已经安装好 ant1.7

已经安装好 eclipse-jee-galileo-win32

 

2.设置ant的环境变量

 

ANT_HOME=D:/Program Files/Apache Software Foundation/apache-ant-1.7.0

path=%ANT_HOME%/bin

 

3.建立mysql的数据库和用户

 

建立数据库名字叫:myjbpm

用户:myjbpm

口令:myjbpm

授权用户访问此数据库

 

4.配置数据库,使用mysql,原来使用的是hsqldb

  • 确认在{jbpm-4.2}/lib目录下,有mysql-connector-java.jar文件。
  • 进入{jbpm-4.2}/install/jdbc目录修改文件mysql.properties文件,设置你自己的mysql数据库名、 用户名和密码
  • 修改{jbpm-4.2}/install/build.xml,修改为<property name="database" value="mysql" /> <!-- {hsqldb | mysql | oracle | postgresql} -->
  • 进入{jbpm-4.2}/install, 运行 ant create.jbpm.schema,将创建数据库脚本并在指定数据库中创建表
  • 通过navicat(或者其他mysql客户端),访问myjbpm数据库。确认有jbpm4_开头的18个表单生成

5.在eclipse上配置流程设计器


这个过程比较麻烦,可以参考jbpm的官方文档文档,上面有详细描述。

file:///D:/Jar_Lib/jbpm-4.3/doc/userguide/html_single/index.html#gettingstartedquickly 。2.11.2章节

或者在线版本 http://www.family168.com/tutorial/jbpm4.0/html/installation.htm

 

6.创建一个简单应用:myjbpm


  1. 在eclipse上建立一个java项目,名字叫myjbpm
  2. 配置项目使用eclipse 下的jbpm的类包环境(通过项目的properties->java build path->libraries->add libray->user library ->jbpm libraries).或者把jbpm的jar文件复制到项目的lib目录下。
  3. 配置项目使用eclipse 下的junit的类包环境(通过项目的properties->java build path->libraries->add libray->junit->junit4).或者把junit的jar文件复制到项目的lib目录下。
  4. 将{jbpm-4.2}/examples/src中的所有配置文件复制到myjbpm工程中的src目录下
             jbpm.cfg.xml
             jbpm.hibernate.cfg.xml
             jbpm.mail.properties
             jbpm.mail.templates.examples.xml
             logging.properties
  5. 修改jbpm.hibernate.cfg.xml
       <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
       <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
       <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/myjbpm</property>
       <property name="hibernate.connection.username">myjbpm</property>
       <property name="hibernate.connection.password">myjbpm</property>
  6. 定义流程
       创建流程的定义文件是 process.jpdl.xml,将下面代码复制到文件中
    ------------------------------------------------------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>

    <process name="pd" xmlns="http://jbpm.org/4.0/jpdl">
       <start g="45,131,48,48" name="start1">
          <transition g="-59,-17" name="to state1" to="state1"/>
       </start>
       <end g="435,129,48,48" name="end1"/>
       <state g="227,128,92,52" name="state1">
          <transition g="-47,-17" name="to end1" to="end1"/>
       </state>
    </process>
    ------------------------------------------------------------------------------------------
  7. 编写一个测试用例 ServicesTest
    package com.alcor.test.jbpm; import junit.framework.TestCase; import org.jbpm.api.Configuration; import org.jbpm.api.ExecutionService; import org.jbpm.api.HistoryService; import org.jbpm.api.ManagementService; import org.jbpm.api.ProcessEngine; import org.jbpm.api.RepositoryService; import org.jbpm.api.TaskService; public class TestService extends TestCase { public void testObtainServicesAndDeployProcess() { Configuration configuration = new Configuration(); ProcessEngine processEngine = configuration.buildProcessEngine(); RepositoryService repositoryService = processEngine.getRepositoryService(); ExecutionService executionService = processEngine.getExecutionService(); TaskService taskService = processEngine.getTaskService(); HistoryService historyService = processEngine.getHistoryService(); ManagementService managementService = processEngine.getManagementService(); // 开始部署一个新的流程文件 String deploymentId = repositoryService.createDeployment().addResourceFromClasspath("process.jpdl.xml").deploy(); } }
  8. 运行这个junit程序(run as junit test),我们在控制台上可以看见如下输出:
    04:47:38,168 FIN | [WireContext] eagerly initializing org.jbpm.pvm.internal.id.DatabaseIdComposer 04:47:38,204 INF | [Environment] Hibernate 3.3.1.GA 04:47:38,209 INF | [Environment] hibernate.properties not found 04:47:38,213 INF | [Environment] Bytecode provider name : javassist 04:47:38,219 INF | [Environment] using JDK 1.4 java.sql.Timestamp handling 04:47:38,303 INF | [Configuration] configuring from resource: jbpm.hibernate.cfg.xml 04:47:38,304 INF | [Configuration] Configuration resource: jbpm.hibernate.cfg.xml 04:47:38,398 INF | [Configuration] Reading mappings from resource : jbpm.repository.hbm.xml 04:47:38,626 INF | [Configuration] Reading mappings from resource : jbpm.execution.hbm.xml 04:47:38,768 INF | [Configuration] Reading mappings from resource : jbpm.history.hbm.xml 04:47:38,820 INF | [Configuration] Reading mappings from resource : jbpm.task.hbm.xml 04:47:38,849 INF | [Configuration] Reading mappings from resource : jbpm.identity.hbm.xml 04:47:38,864 INF | [Configuration] Configured SessionFactory: null 04:47:38,885 INF | [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!) 04:47:38,885 INF | [DriverManagerConnectionProvider] Hibernate connection pool size: 20 04:47:38,885 INF | [DriverManagerConnectionProvider] autocommit mode: false 04:47:38,899 INF | [DriverManagerConnectionProvider] using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/myjbpm?useUnicode=true&characterEncoding=utf-8 04:47:38,899 INF | [DriverManagerConnectionProvider] connection properties: {user=myjbpm, password=****} 04:47:39,239 INF | [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect 04:47:39,245 INF | [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions) 04:47:39,248 INF | [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 04:47:39,254 INF | [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory 04:47:39,317 INF | [SessionFactoryImpl] building session factory 04:47:40,096 INF | [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured 04:47:40,109 INF | [SchemaExport] Running hbm2ddl schema export 04:47:40,111 INF | [SchemaExport] exporting generated schema to database 04:47:58,046 INF | [SchemaExport] schema export complete 04:47:58,380 FIN | [HibernateSessionResource] ----- beginning hibernate tx 13645178 -------------------------------------------------------- 04:47:58,398 FIN | [SQL] select propertyim0_.KEY_ as KEY1_2_, propertyim0_.VERSION_ as VERSION2_2_, propertyim0_.VALUE_ as VALUE3_2_ from JBPM4_PROPERTY propertyim0_ limit ? 04:47:58,427 FIN | [SQL] select this_.KEY_ as KEY1_2_0_, this_.VERSION_ as VERSION2_2_0_, this_.VALUE_ as VALUE3_2_0_ from JBPM4_PROPERTY this_ where this_.KEY_=? 04:47:58,427 FST | [StringType] binding 'next.dbid' to parameter: 1 04:47:58,429 FIN | [SQL] select this_.KEY_ as KEY1_2_0_, this_.VERSION_ as VERSION2_2_0_, this_.VALUE_ as VALUE3_2_0_ from JBPM4_PROPERTY this_ where this_.KEY_=? 04:47:58,429 FST | [StringType] binding 'next.dbid' to parameter: 1 04:47:58,458 FIN | [SQL] insert into JBPM4_PROPERTY (VERSION_, VALUE_, KEY_) values (?, ?, ?) 04:47:58,458 FST | [IntegerType] binding '0' to parameter: 1 04:47:58,458 FST | [StringType] binding '1' to parameter: 2 04:47:58,459 FST | [StringType] binding 'next.dbid' to parameter: 3 04:47:58,461 FIN | [SQL] select this_.KEY_ as KEY1_2_0_, this_.VERSION_ as VERSION2_2_0_, this_.VALUE_ as VALUE3_2_0_ from JBPM4_PROPERTY this_ where this_.KEY_=? 04:47:58,461 FST | [StringType] binding 'db.version' to parameter: 1 04:47:58,462 INF | [CheckDbCmd] jBPM version info: library[4.3], schema[null] 04:47:58,462 FIN | [HibernateSessionResource] ----- committing hibernate tx 22845412 ------------------------------------------------------- 04:47:58,514 FIN | [HibernateSessionResource] ----- beginning hibernate tx 12578138 -------------------------------------------------------- 04:47:58,623 FIN | [DatabaseDbidGenerator] last id -2 was consumed. acquiring new block... 04:47:58,626 FIN | [HibernateSessionResource] ----- beginning hibernate tx 17993562 -------------------------------------------------------- 04:47:58,653 FIN | [SQL] select propertyim0_.KEY_ as KEY1_2_, propertyim0_.VERSION_ as VERSION2_2_, propertyim0_.VALUE_ as VALUE3_2_ from JBPM4_PROPERTY propertyim0_ where propertyim0_.KEY_='next.dbid' 04:47:58,654 FST | [StringType] returning 'next.dbid' as column: KEY1_2_ 04:47:58,657 FST | [IntegerType] returning '0' as column: VERSION2_2_ 04:47:58,657 FST | [StringType] returning '1' as column: VALUE3_2_ 04:47:58,660 FIN | [SQL] update JBPM4_PROPERTY set VERSION_=?, VALUE_=? where KEY_=? and VERSION_=? 04:47:58,660 FST | [IntegerType] binding '1' to parameter: 1 04:47:58,660 FST | [StringType] binding '10001' to parameter: 2 04:47:58,660 FST | [StringType] binding 'next.dbid' to parameter: 3 04:47:58,661 FST | [IntegerType] binding '0' to parameter: 4 04:47:58,678 FIN | [HibernateSessionResource] ----- committing hibernate tx 5746264 ------------------------------------------------------- 04:47:58,696 FIN | [DatabaseDbidGenerator] acquired new id block [1-10000] 04:47:58,745 FIN | [SQL] select lob_.DBID_, lob_.DBVERSION_ as DBVERSION2_5_, lob_.BLOB_VALUE_ as BLOB3_5_ from JBPM4_LOB lob_ where lob_.DBID_=? 04:47:58,747 FST | [LongType] binding '2' to parameter: 1 04:47:59,304 FIN | [SQL] insert into JBPM4_DEPLOYMENT (NAME_, TIMESTAMP_, STATE_, DBID_) values (?, ?, ?, ?) 04:47:59,305 FST | [TextType] binding null to parameter: 1 04:47:59,306 FST | [LongType] binding '0' to parameter: 2 04:47:59,306 FST | [StringType] binding 'active' to parameter: 3 04:47:59,306 FST | [LongType] binding '1' to parameter: 4 04:47:59,308 FIN | [SQL] insert into JBPM4_LOB (DBVERSION_, BLOB_VALUE_, DBID_) values (?, ?, ?) 04:47:59,308 FST | [IntegerType] binding '0' to parameter: 1 04:47:59,309 FST | [LongType] binding '2' to parameter: 3 04:47:59,310 FIN | [SQL] insert into JBPM4_DEPLOYPROP (DEPLOYMENT_, OBJNAME_, KEY_, STRINGVAL_, LONGVAL_, DBID_) values (?, ?, ?, ?, ?, ?) 04:47:59,310 FST | [LongType] binding null to parameter: 1 04:47:59,311 FST | [StringType] binding null to parameter: 2 04:47:59,311 FST | [StringType] binding null to parameter: 3 04:47:59,311 FST | [StringType] binding null to parameter: 4 04:47:59,311 FST | [LongType] binding null to parameter: 5 04:47:59,311 FST | [LongType] binding '3' to parameter: 6 04:47:59,314 FIN | [SQL] update JBPM4_DEPLOYPROP set DEPLOYMENT_=?, OBJNAME_=?, KEY_=?, STRINGVAL_=?, LONGVAL_=? where DBID_=? 04:47:59,314 FST | [LongType] binding '1' to parameter: 1 04:47:59,314 FST | [StringType] binding 'pd' to parameter: 2 04:47:59,314 FST | [StringType] binding 'langid' to parameter: 3 04:47:59,315 FST | [StringType] binding 'jpdl-4.0' to parameter: 4 04:47:59,315 FST | [LongType] binding null to parameter: 5 04:47:59,315 FST | [LongType] binding '3' to parameter: 6 04:47:59,316 FIN | [SQL] update JBPM4_LOB set DEPLOYMENT_=?, NAME_=? where DBID_=? 04:47:59,317 FST | [LongType] binding '1' to parameter: 1 04:47:59,317 FST | [TextType] binding 'process.jpdl.xml' to parameter: 2 04:47:59,317 FST | [LongType] binding '2' to parameter: 3 04:47:59,318 FIN | [SQL] update JBPM4_DEPLOYPROP set DEPLOYMENT_=? where DBID_=? 04:47:59,319 FST | [LongType] binding '1' to parameter: 1 04:47:59,319 FST | [LongType] binding '3' to parameter: 2 04:47:59,321 FIN | [SQL] select deployment1_.OBJNAME_ as col_0_0_, deployment1_.DEPLOYMENT_ as col_1_0_ from JBPM4_DEPLOYMENT deployment0_, JBPM4_DEPLOYPROP deployment1_, JBPM4_DEPLOYPROP deployment2_, JBPM4_DEPLOYPROP deployment3_ where deployment1_.KEY_='pdid' and deployment1_.DEPLOYMENT_=deployment0_.DBID_ and deployment2_.KEY_='pdkey' and deployment2_.OBJNAME_=deployment1_.OBJNAME_ and deployment2_.DEPLOYMENT_=deployment0_.DBID_ and deployment3_.KEY_='pdversion' and deployment3_.OBJNAME_=deployment1_.OBJNAME_ and deployment3_.DEPLOYMENT_=deployment0_.DBID_ and deployment1_.OBJNAME_='pd' 04:47:59,349 FIN | [SQL] select deployment1_.OBJNAME_ as col_0_0_, deployment1_.DEPLOYMENT_ as col_1_0_ from JBPM4_DEPLOYMENT deployment0_, JBPM4_DEPLOYPROP deployment1_, JBPM4_DEPLOYPROP deployment2_, JBPM4_DEPLOYPROP deployment3_ where deployment1_.KEY_='pdid' and deployment1_.DEPLOYMENT_=deployment0_.DBID_ and deployment2_.KEY_='pdkey' and deployment2_.OBJNAME_=deployment1_.OBJNAME_ and deployment2_.DEPLOYMENT_=deployment0_.DBID_ and deployment3_.KEY_='pdversion' and deployment3_.OBJNAME_=deployment1_.OBJNAME_ and deployment3_.DEPLOYMENT_=deployment0_.DBID_ and deployment2_.STRINGVAL_='pd' 04:47:59,381 FIN | [SQL] select deployment1_.OBJNAME_ as col_0_0_, deployment1_.DEPLOYMENT_ as col_1_0_ from JBPM4_DEPLOYMENT deployment0_, JBPM4_DEPLOYPROP deployment1_, JBPM4_DEPLOYPROP deployment2_, JBPM4_DEPLOYPROP deployment3_ where deployment1_.KEY_='pdid' and deployment1_.DEPLOYMENT_=deployment0_.DBID_ and deployment2_.KEY_='pdkey' and deployment2_.OBJNAME_=deployment1_.OBJNAME_ and deployment2_.DEPLOYMENT_=deployment0_.DBID_ and deployment3_.KEY_='pdversion' and deployment3_.OBJNAME_=deployment1_.OBJNAME_ and deployment3_.DEPLOYMENT_=deployment0_.DBID_ and deployment2_.STRINGVAL_='pd' order by deployment3_.LONGVAL_ desc limit ? 04:47:59,405 FIN | [SQL] select deployment1_.OBJNAME_ as col_0_0_, deployment1_.DEPLOYMENT_ as col_1_0_ from JBPM4_DEPLOYMENT deployment0_, JBPM4_DEPLOYPROP deployment1_, JBPM4_DEPLOYPROP deployment2_, JBPM4_DEPLOYPROP deployment3_ where deployment1_.KEY_='pdid' and deployment1_.DEPLOYMENT_=deployment0_.DBID_ and deployment2_.KEY_='pdkey' and deployment2_.OBJNAME_=deployment1_.OBJNAME_ and deployment2_.DEPLOYMENT_=deployment0_.DBID_ and deployment3_.KEY_='pdversion' and deployment3_.OBJNAME_=deployment1_.OBJNAME_ and deployment3_.DEPLOYMENT_=deployment0_.DBID_ and deployment1_.STRINGVAL_='pd-1' 04:47:59,411 FIN | [SQL] insert into JBPM4_DEPLOYPROP (DEPLOYMENT_, OBJNAME_, KEY_, STRINGVAL_, LONGVAL_, DBID_) values (?, ?, ?, ?, ?, ?) 04:47:59,412 FST | [LongType] binding null to parameter: 1 04:47:59,412 FST | [StringType] binding null to parameter: 2 04:47:59,412 FST | [StringType] binding null to parameter: 3 04:47:59,412 FST | [StringType] binding null to parameter: 4 04:47:59,412 FST | [LongType] binding null to parameter: 5 04:47:59,412 FST | [LongType] binding '4' to parameter: 6 04:47:59,413 FIN | [SQL] insert into JBPM4_DEPLOYPROP (DEPLOYMENT_, OBJNAME_, KEY_, STRINGVAL_, LONGVAL_, DBID_) values (?, ?, ?, ?, ?, ?) 04:47:59,413 FST | [LongType] binding null to parameter: 1 04:47:59,413 FST | [StringType] binding null to parameter: 2 04:47:59,413 FST | [StringType] binding null to parameter: 3 04:47:59,413 FST | [StringType] binding null to parameter: 4 04:47:59,414 FST | [LongType] binding null to parameter: 5 04:47:59,414 FST | [LongType] binding '5' to parameter: 6 04:47:59,414 FIN | [SQL] insert into JBPM4_DEPLOYPROP (DEPLOYMENT_, OBJNAME_, KEY_, STRINGVAL_, LONGVAL_, DBID_) values (?, ?, ?, ?, ?, ?) 04:47:59,414 FST | [LongType] binding null to parameter: 1 04:47:59,414 FST | [StringType] binding null to parameter: 2 04:47:59,414 FST | [StringType] binding null to parameter: 3 04:47:59,415 FST | [StringType] binding null to parameter: 4 04:47:59,415 FST | [LongType] binding null to parameter: 5 04:47:59,415 FST | [LongType] binding '6' to parameter: 6 04:47:59,416 FIN | [SQL] update JBPM4_DEPLOYPROP set DEPLOYMENT_=?, OBJNAME_=?, KEY_=?, STRINGVAL_=?, LONGVAL_=? where DBID_=? 04:47:59,417 FST | [LongType] binding '1' to parameter: 1 04:47:59,417 FST | [StringType] binding 'pd' to parameter: 2 04:47:59,417 FST | [StringType] binding 'pdid' to parameter: 3 04:47:59,417 FST | [StringType] binding 'pd-1' to parameter: 4 04:47:59,417 FST | [LongType] binding null to parameter: 5 04:47:59,417 FST | [LongType] binding '4' to parameter: 6 04:47:59,418 FIN | [SQL] update JBPM4_DEPLOYPROP set DEPLOYMENT_=?, OBJNAME_=?, KEY_=?, STRINGVAL_=?, LONGVAL_=? where DBID_=? 04:47:59,418 FST | [LongType] binding '1' to parameter: 1 04:47:59,418 FST | [StringType] binding 'pd' to parameter: 2 04:47:59,418 FST | [StringType] binding 'pdkey' to parameter: 3 04:47:59,418 FST | [StringType] binding 'pd' to parameter: 4 04:47:59,419 FST | [LongType] binding null to parameter: 5 04:47:59,419 FST | [LongType] binding '5' to parameter: 6 04:47:59,419 FIN | [SQL] update JBPM4_DEPLOYPROP set DEPLOYMENT_=?, OBJNAME_=?, KEY_=?, STRINGVAL_=?, LONGVAL_=? where DBID_=? 04:47:59,419 FST | [LongType] binding '1' to parameter: 1 04:47:59,419 FST | [StringType] binding 'pd' to parameter: 2 04:47:59,420 FST | [StringType] binding 'pdversion' to parameter: 3 04:47:59,420 FST | [StringType] binding null to parameter: 4 04:47:59,420 FST | [LongType] binding '1' to parameter: 5 04:47:59,420 FST | [LongType] binding '6' to parameter: 6 04:47:59,422 FIN | [SQL] update JBPM4_DEPLOYPROP set DEPLOYMENT_=? where DBID_=? 04:47:59,422 FST | [LongType] binding '1' to parameter: 1 04:47:59,422 FST | [LongType] binding '4' to parameter: 2 04:47:59,422 FIN | [SQL] update JBPM4_DEPLOYPROP set DEPLOYMENT_=? where DBID_=? 04:47:59,422 FST | [LongType] binding '1' to parameter: 1 04:47:59,423 FST | [LongType] binding '5' to parameter: 2 04:47:59,423 FIN | [SQL] update JBPM4_DEPLOYPROP set DEPLOYMENT_=? where DBID_=? 04:47:59,423 FST | [LongType] binding '1' to parameter: 1 04:47:59,423 FST | [LongType] binding '6' to parameter: 2 04:47:59,425 FIN | [HibernateSessionResource] ----- committing hibernate tx 5825185 -------------------------------------------------------<br /> <br />
    并且在
    jbpm4_deployment表,你会发现多了一条记录
    jbpm4_deployprop表会多了4条记录,对应langid,pdid,key,version
    jbpm4_lob 表会多了一条记录,保存流程图

7. jBPM 的 ant 语法

 

demo.setup.jboss:安装jboss,把jbpm安装到jboss中, 启动jboss,创建jbpm数据库表结构,部署实例,加载实例身份认证信息, 安装并启动eclipse demo.setup.tomcat:安装tomcat,把jboss安装到tomcat中, 启动tomcat,创建jbpm数据库表结构,部署实例,加载实例身份认证信息, 安装并启动eclipse clean.cfg.dir:删除${jbpm.home}/install/generated/cfg 文件夹。 create.cfg:创建一个配置在 ${jbpm.home}/install/generated/cfg下,基于当前的参数。 create.jbpm.schema:在数据库中创建jbpm表 create.user.webapp创建一个基本的webapp在 ${jbpm.home}/install/generated/user-webapp中 delete.jboss:删除安装的jboss delete.tomcat:删除安装的Tomcat demo.teardown.jboss:删除jbpm数据库的表并停止jboss demo.teardown.tomcat:停止tomcat和hsqldb服务器(如果需要) drop.jbpm.schema:从数据库中删除jbpm的表 get.eclipse:下载eclipse如果它不存在 get.jboss:下载一个JBoss AS,已经测试过当前的jBPM版本,如果它不存在 get.tomcat:下载一个Tomcat,已经测试过当前的jBPM版本,如果它不存在 hsqldb.databasemanager:启动hsqldb数据库管理器 install.eclipse:解压eclipse,下载eclipse如果它不存在 install.jboss:下载JBoss如果它不存在,并解压 install.jbpm.into.jboss:把jBPM安装到JBoss中 install.tomcat:把tomcat下载到${tomcat.distro.dir}如果tomcat不存在,并解压tomcat install.jbpm.into.tomcat:把jBPM安装到tomcat中 install.examples.into.tomcat:部署所有的实例流程 install.signavio.into.jboss:把signavio安装到jboss中 install.signavio.into.tomcat把signavio安装到tomcat中 load.example.identities:读取实例用户和用户组数据到数据库 reinstall.jboss:删除之前的jboss安装,并重新安装jboss reinstall.jboss.and.jbpm:删除之前的jboss安装,并重新安装jboss并把jbpm安装到它里面 reinstall.tomcat:删除之前的tomcat安装,并重新安装tomcat reinstall.tomcat.and.jbpm:删除之前的tomcat安装,并重新安装tomcat并把jbpm安装到它里面 start.eclipse:启动eclipse start.jboss:启动jboss,等待到jboss启动完,然后让jboss在后台运行 start.tomcat:启动Tomcat,等待到Tomcat启动完,然后让Tomcat在后台运行 stop.jboss:通知jboss停止,但是不等到它完成 stop.tomcat通知Tomcat停止,但是不等到它完成 upgrade.jbpm.schema:更新数据库中的jBPM表到当前版本

你可能感兴趣的:(tomcat,mysql,jboss,jbpm,Deployment,binding)