布署jbpm到jboss

本文介绍JBPM 2.0在Windows XP上的安装与配置过程,包括所需软件环境如J2SE SDK 1.4.2_03、Apache Ant 1.6.1等,以及在JBoss 3.2.5上部署的具体步骤。
1.需要的软件
jBpm 2.0 is tested on a Windows XP machine with following software packages installed :
1)'J2SE SDK v 1.4.2_03', downloaded from http://java.sun.com/j2se/1.4.2/download.html
说明:我用1.4.1也可以
2)'Apache Ant version 1.6.1', downloaded from http://ant.apache.org/bindownload.cgi
说明:我用1.6.1以下的版本试也可以
3)Optionally, you can deploy jbpm on the JBoss j2ee server. 'JBoss 3.2.5', download from
http://prdownloads.sourceforge.net/jboss/jboss-3.2.5.zip?download,
unzip and set the JBOSS_HOME environment variable
 
2.获取jbpm源代码的方法
Connection type: pserver
User: anonymous
Password:
Host: cvs.sourceforge.net
Port: 2401 (which is the default)
Repository path: /cvsroot/jbpm
Label: :pserver:anonymous@cvs.sourceforge.net:/cvsroot/jbpm
Then checkout module jbpm2.
我想不用再说什么了吧?

3.布署
1)Installationunzip jbpm to a folder of your choice
和前面的参数要一致
2)update the configs in build.properties to your environment with your favorite text editor
这步很简单,4个参数修改后就可以了
3)in directory ${jbpm.home} run 'ant configure.jboss.3.2.3+'. (the same task works for jboss-3.2.5)
That creates a jbpm configuration ${jboss.home}/server/jbpm which is basically a copy of the 'all'
configuration. The only difference is that 2 files are added to the deploy directory :
jbpm-db-service.xml and jbpm-ds.xml
这个其实就是在jboss下加一个jbpm应用
4)start the jbpm configuration of jboss with '%JBOSS_HOME%/bin/run.bat -c jbpm'.
启动jboss下的jbpm应用
5)in directory ${jbpm.home}/web run 'ant deploy'. This will build and deploy the web application
to the jboss configuration that we've just created.
把我们具体内容发布到jbpm应用中
6)in directory ${jbpm.home}/web run 'ant deploy.process.archives'.
This deploys the demo payraise process to the jbpm database in jboss.
 Since this is normally your first jbpm access to the database, this will also create the jbpm tables automatically.
 发布流程定义,包括建立表结构
7)surf to http://localhost:8080/jbpm
可以开始学习了,呵呵.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值