Tempo研究之Intalio BPMS在mysql上部署
在 http://bpms.intalio.com/content/view/191/86/ 上有份详细的文档,描述了如何讲Intalio bpms安装在mysql5上,步骤是非常的简单。
首先是在mysql5上建库见表,建表sql是在/databases/MySQL-5 有。
mysql -u jsmith -p bpms < console.sql
mysql -u jsmith -p bpms < ode_tables.sql
mysql -u jsmith -p bpms < workflow.deployment.sql
mysql -u jsmith -p bpms < workflow.tms.sql
其次是编辑 /databases/MySQL-5 目录下的 bpmsdb-mysql5-db-plan.xml 文件,主要改动就是配置连接mysql的信息,其他的不需要改动。
然后采用/bin目录下的deploy命令操作即可:
deploy.bat --offline redeploy ..repositorytranqltranql-connector1.2tranql-connector-1.2.rar ..databasesMySQL-5bpmsds-mysql5-db-plan.xml
看到如下输入信息,即表示install成功:
Using GERONIMO_BASE: D:IntalioServer
Using GERONIMO_HOME: D:IntalioServer
Using GERONIMO_TMPDIR: D:IntalioServervar emp
Using JRE_HOME: D:jdk150_10
No ModuleID or TargetModuleID provided. Attempting to guess based
on the content of the plan.
Attempting to use ModuleID 'com.intalio.bpms/BPMSDS/1.0/rar'
Uninstalled com.intalio.bpms/BPMSDS/1.0/rar
Deployed com.intalio.bpms/BPMSDS/1.0/rar
Started com.intalio.bpms/BPMSDS/1.0/rar
Redeployed com.intalio.bpms/BPMSDS/1.0/rar
但是,并不是一定能成功的。我最初安装的server是基于默认存储的,后来试图将此server迁移到mysql上没有成功,报告如下错误:
Using JRE_HOME: D:jdk150_10
No ModuleID or TargetModuleID provided. Attempting to guess based
on the content of the plan.
Attempting to use ModuleID 'com.intalio.bpms/BPMSDS/1.0/rar'
Error: com.intalio.bpms/BPMSDS/1.0/rar does not appear to be a the
name of a module available on the selected server. Perhaps it has
already been stopped or undeployed? If you're trying to specify a
TargetModuleID, use the syntax TargetName|ModuleName instead. If
you're not sure what's running, try the list-modules command.