布署jbpm到jboss

來源:互聯網
上載者:User
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
可以開始學習了,呵呵.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.