Vincent Thinking
All about Vincent's work and life
BlogJava
::
首頁
::
新隨筆
::
聯系
::
聚合
::
管理
::
34 隨筆 :: 0 文章 :: 183 評論 :: 0 Trackbacks
<
2013年8月
>
日
一
二
三
四
五
六
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
公告
有
人在閱讀此Blog
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(18)
給我留言
查看公開留言
查看私人留言
隨筆分類
JAVA(5)
(rss)
Life(5)
(rss)
Work(12)
(rss)
WorkFlow(3)
(rss)
隨筆檔案
2010年3月 (3)
2009年11月 (4)
2009年7月 (1)
2006年8月 (1)
2006年5月 (2)
2006年4月 (2)
2006年3月 (1)
2006年2月 (5)
2006年1月 (4)
2005年12月 (6)
2005年11月 (5)
相冊
FAurora
Gantt
工作
IT
CNZZ
Slashdot
(rss)
Solidot
(rss)
Java
TheServerSide.com
朋友
Programmer's Life
掛冰柱的貓
活力永升
搜索
最新評論
1.?re: JBPM- 流程設計器
我現在也在學習這個,麻煩樓主也給我發一份吧
764212785@qq.com
--zzz
2.?re: FGantt 甘特圖 網絡圖 Gantt
樓主,能否一份源碼,standly@126.com,謝謝!
--standly
3.?re: JBPM- 整合Jbpm,tomcat,mysql[未登錄]
@hao0374
650868686@qq.com 謝謝
--aa
4.?re: FGantt 甘特圖 網絡圖 Gantt
樓主能否下,發一份源碼
106857386@qq.com
--QQ106857386
5.?re: JBPM- 流程設計器
如果可以的話 郵件一份 327749707@qq.com
--rabbi
閱讀排行榜
1.?AHAH 介紹(71744)
2.?JBPM- 流程設計器(7770)
3.?JBPM- 整合Jbpm,tomcat,mysql(5827)
4.?FGantt 甘特圖 網絡圖 Gantt(4610)
5.?ZK Ajax but no JavaScript(4107)
JBPM- 整合Jbpm,tomcat,mysql
jbpm作為jboss的一個子項目,和jboss綁定的比較多,官方文檔也沒有說如何移植,下面就移植作個簡要的說明。
1. 下載jbpm http://www.jboss.com/products/jbpm/downloads
2. 解壓,導入eclispe的項目中 配置MYSQL 1. 在eclipse的jpbm項目中加入mysql的lib 2. mysql創建一個數據庫"jbpm"
3. 在eclipse的jbpm項目中找到'jbpm-3.0\src\resources'目錄,創建一個自目錄'mysql'
4. 把同目錄hsqldb文件夾中的2個文件(create.db.hibernate.properties, identity.db.xml)拷貝到mysql目錄中
5. 按下面所示編輯 'create.db.hibernate.properties'
hibernate.dialect
=
org.hibernate.dialect.MySQLDialect
hibernate.connection.driver_class
=
com.mysql.jdbc.Driver
hibernate.connection.url
=
jdbc:mysql://localhost:
3306
/jbpm
hibernate.connection.username
=
root
hibernate.connection.password
=
root
hibernate.c3p0.min_size
=
1
hibernate.c3p0.max_size
=
3
hibernate.show_sql
=
true
6. 在eclipse的jbpm項目中找到ant腳本'build.deploy.xml',進行編輯 找到 target name="create.db", 刪除 db.start, db.stop 在這個目標塊中將所有的'hsqldb' 替換為 'mysql'
7. 運行ant create.db -buildfile build.deploy.xml創建jbpm表結構
8. 找到target name="build.webapp"按下面進行編輯
<
target
name
="build.webapp"
description
="builds jbpm.war"
>
<
ant
antfile
="build.xml"
target
="build.webapp"
/>
<
mkdir
dir
="build/jbpm.war.dir"
/>
<
copy
todir
="build/jbpm.war.dir"
>
<
fileset
dir
="src/resources/jbpm.war"
/>
</
copy
>
<
copy
todir
="build/jbpm.war.dir/WEB-INF/lib"
>
<
fileset
dir
="build"
includes
="jbpm-webapp-${jbpm.version}.jar"
/>
<
fileset
dir
="lib/jsf"
includes
="*.jar"
/>
<
fileset
dir
="lib/commons"
includes
="commons-digester-*.jar, commons-beanutils-*.jar"
/>
</
copy
>
<
jar
destfile
="build/jbpm.war"
>
<
fileset
dir
="build/jbpm.war.dir"
/>
</
jar
>
</
target
>
9. 找到目錄src/resources,編輯jbpm.properties文件
jbpm.scheduler.service.factory
=
org.jbpm.scheduler.impl.SchedulerServiceImpl
jbpm.task.instance.class
=
org.jbpm.taskmgmt.exe.TaskInstance
# uncomment the next line if JbpmSessionFactory.getInstance()
# should lookup the singleton instance from JNDI instead of creating
# a default one.
#
#jbpm.session.factory.jndi.name
=
java:/jbpm/JbpmSessionFactory
# uncomment the next line to use the file system instead of the database for
# storing files related to a process definition
#
# jbpm.files.dir
=
c:/jbpm.data
# resource path to a properties file that will overwrite all the hibernate
# properties. For database specific builds in db project there is a different
# hibernate.properties file on the classpath for each database. You could change
# the default database for any testing runs by uncommenting the next line and
# adding a hibernate.properties file in the basedir.
#
jbpm.hibernate.cfg.xml
=
jbpm.hibernate.cfg.xml
#jbpm.hibernate.properties
=
jbpm.hibernate.properties
編輯jbpm.hibernate.properties文件
#hibernate.dialect
=
org.hibernate.dialect.HSQLDialect
#hibernate.connection.datasource
=
java:/DefaultDS
10. 找到src/config.files目錄,編輯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/jbpm3
</
property
>
<
property
name
="hibernate.connection.username"
>
root
</
property
>
<
property
name
="hibernate.connection.password"
>
root
</
property
>
<!--
c3p0 connection pooling properties
-->
<
property
name
="hibernate.c3p0.min_size"
>
1
</
property
>
<
property
name
="hibernate.c3p0.max_size"
>
3
</
property
>
<
property
name
="hibernate.query.substitutions"
>
true 1, false 0
</
property
>
<
property
name
="hibernate.connection.pool_size"
>
15
</
property
>
11. 運行ANT腳本ant build.webapp -buildfile build.deploy.xml 生成jbpm.war,拷貝到tomcat web目錄中,啟動tomcat,輸入'http://localhost:8080/jbpm' 就可以看到他的example
posted on 2005-12-19 17:26
Vincent Thinking
閱讀(5827)
評論(14)
編輯
收藏
所屬分類:
WorkFlow
評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-04-07 21:56
waitray
請問樓主如果是JBPM3.1應該怎么整合到tomcat中?
“9. 找到目錄src/resources,編輯jbpm.properties文件”這個步驟無法實現。
我是在JBOSS的論壇上鏈接過來的,希望樓主能給予幫助
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-04-10 14:16
Vincent Thinking
怎么無法實現?
最近太忙,回復的慢了。。
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-05-25 14:20
rui
樓主有沒有試過把jbpm3.1.1移到tomcat+ oracle上?jbpm3.0跟jbpm3.1.1有比較多的變動
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-05-25 14:22
rui
樓主有聯系方式嗎?
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-05-26 09:31
Vincent Thinking
最近沒有在做jbpm相關的工作.
jbpm的數據層用的是hibernate,移植數據庫我想問題應該不大.
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-08-18 14:22
zhang
怎么沒有大牛留下點 聯系方式阿,
希望最近在看JBPM的兄弟姐妹加我,QQ:57875031,一起學習
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-08-30 00:14
樓主沒抄全吧,那個文件根本就沒有啊
樓主沒抄全吧,那個文件根本就沒有啊
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-09-08 10:24
maya
我按你的步驟,很順利.不過在
http://localhost:8080/jbpm/時報
:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Filter execution threw an exception
org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
root cause
java.lang.NoClassDefFoundError
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
org.jbpm.webapp.context.Context.class$(Context.java:33)
org.jbpm.webapp.context.Context.getPersistenceContext(Context.java:33)
org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:22)
org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
note The full stack trace of the root cause is available in the Tomcat logs.
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2006-09-22 14:52
powermore
不知樓上的錯誤解決了沒有,我也犯了同樣的錯誤。
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql[未登錄]
2007-06-19 15:57
soa
根本就沒有jbpm.properties這個文件啊,怎么修改呢?
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql[未登錄]
2007-07-17 14:15
adu
<copy todir="build/jbpm.war.dir/WEB-INF/lib">
<fileset dir="build" includes="jbpm-${jbpm.version}.jar" />
<fileset dir="build" includes="jbpm-identity-${jbpm.version}.jar" />
<fileset dir="build" includes="jbpm-webapp-${jbpm.version}.jar" />
<fileset dir="lib/jsf" includes="*.jar" />
<fileset dir="lib/dom4j" includes="*.jar" />
<fileset dir="lib/hibernate" includes="jaxen-*.jar" />
<fileset dir="lib/commons" includes="commons-digester-*.jar, commons-beanutils-*.jar, commons-fileupload-*.jar" />
</copy>
樓主的任務少copy的兩個jar
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2007-09-30 14:23
hao0374
我這里有個成功的誰要?
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql
2009-05-12 15:10
jjtking
成功的給我發一份,jjtking@163.com
回復
更多評論
#
re: JBPM- 整合Jbpm,tomcat,mysql[未登錄]
2013-08-23 17:40
aa
@hao0374
650868686@qq.com 謝謝
回復
更多評論
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
相關文章:
JBPM-Task和頁面的綁定
JBPM- 整合Jbpm,tomcat,mysql
JBPM- 流程設計器
Powered by:
BlogJava
Copyright © Vincent Thinking
主站蜘蛛池模板:
99爱视频99爱在线观看免费
|
久久精品成人免费观看97
|
67pao强力打造高清免费
|
亚洲成色WWW久久网站
|
国内精品久久久久久久亚洲
|
日韩在线免费电影
|
亚洲熟妇无码AV不卡在线播放
|
午夜肉伦伦影院久久精品免费看国产一区二区三区
|
青青青亚洲精品国产
|
日本人的色道www免费一区
|
mm1313亚洲国产精品无码试看
|
免费观看一区二区三区
|
国产亚洲精品自在久久
|
久久久国产精品无码免费专区
|
全黄a免费一级毛片人人爱
|
亚洲精品一区二区三区四区乱码
|
一级特黄色毛片免费看
|
毛片免费视频播放
|
亚洲欧洲日韩不卡
|
男女超爽刺激视频免费播放
|
亚洲国产一成人久久精品
|
日本人成在线视频免费播放
|
亚洲综合一区二区国产精品
|
亚色九九九全国免费视频
|
亚洲精品精华液一区二区
|
免费毛片a线观看
|
亚洲妓女综合网99
|
国产在线不卡免费播放
|
ass亚洲**毛茸茸pics
|
国产成人免费全部网站
|
国产啪精品视频网站免费尤物
|
亚洲成?Ⅴ人在线观看无码
|
a级毛片免费完整视频
|
亚洲欧洲国产精品久久
|
波多野结衣中文一区二区免费
|
久久久亚洲欧洲日产国码是AV
|
最新久久免费视频
|
一本久久a久久精品亚洲
|
免费亚洲视频在线观看
|
亚洲国产人成在线观看69网站
|
免费91麻豆精品国产自产在线观看
|