---
title: "Tempo研究之Intalio BPMS在mysql上部署"
author: "ww2"
date: "2007-11-23T21:01:00Z"
tags: []
slug: "tempo-intalio-bpms-mysql"
draft: false
lastmod: "2007-11-23T21:01:00Z"
id: 171014
url: "https://ww2.iteye.com/blog/171014"
---

在 [http://bpms.intalio.com/content/view/191/86/](http://bpms.intalio.com/content/view/191/86/) 上有份详细的文档，描述了如何讲Intalio bpms安装在mysql5上，步骤是非常的简单。

首先是在mysql5上建库见表，建表sql是在/databases/MySQL-5 有。

![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)mysql -u jsmith -p bpms &lt; console.sql  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)mysql -u jsmith -p bpms &lt; ode\_tables.sql  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)mysql -u jsmith -p bpms &lt; workflow.deployment.sql  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)mysql -u jsmith -p bpms &lt; workflow.tms.sql

其次是编辑 /databases/MySQL-5 目录下的 bpmsdb-mysql5-db-plan.xml 文件，主要改动就是配置连接mysql的信息，其他的不需要改动。

然后采用/bin目录下的deploy命令操作即可：

![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)deploy.bat --offline redeploy ..repositorytranqltranql-connector1.2tranql-connector-1.2.rar ..databasesMySQL-5bpmsds-mysql5-db-plan.xml

看到如下输入信息，即表示install成功：

![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)Using GERONIMO\_BASE:   D:IntalioServer  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)Using GERONIMO\_HOME:   D:IntalioServer  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)Using GERONIMO\_TMPDIR: D:IntalioServervar emp  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)Using JRE\_HOME:        D:jdk150\_10  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)    No ModuleID or TargetModuleID provided.  Attempting to guess based  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)    on the content of the plan.  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)    Attempting to use ModuleID 'com.intalio.bpms/BPMSDS/1.0/rar'  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)    Uninstalled com.intalio.bpms/BPMSDS/1.0/rar  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)    Deployed com.intalio.bpms/BPMSDS/1.0/rar  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)    Started com.intalio.bpms/BPMSDS/1.0/rar  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)    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.