Drools Guvnor 5.0 Installation

 https://community.jboss.org/wiki/DroolsGuvnor50Installation

Guvnor 5.0 on Weblogic 11g and 10g AS (Contributed bymohamed.ensi@gmail.com)

1. Install Weblogic AS
2. create a new domain (quick start)
http://n3.nabble.com/file/n831111/image1.png
3. click "Getting started with Weblogic ..."
http://n3.nabble.com/file/n831111/image2.png
4. Click next -> next -> and give the domain name as guvnor
http://n3.nabble.com/file/n831111/image3.png
5. click next -> next-> and finally create
6.go to start menu -> Oracle Weblogic -> User Projects -> guvnor -> start
admin server for weblogic server domain
7. open http://localhost:7001/console
http://n3.nabble.com/file/n831111/image4.png
8. give the password that you had specified on the domain creation
9. click  "Deployments" (on the left)
10. click "Install"
http://n3.nabble.com/file/n831111/image6.png
11. give the path of drools-guvnor directory (extract drools-guvnor on a
directory)
12. click next->next->...->finish
13. now choose save
14. click "Deployments" yand you will see drools-guvnor
http://n3.nabble.com/file/n831111/image7.png
15. click "Start" -> "Servicing all requests"

but you will see some problem and the service couldn't be started 
don't worry, we will fixe this in a moment

16. Stop the server
17. go to %WEBLOGIC_HOME%\user_projects\domains\guvnor\lib and add the
following JARs
  - commons-beanutils-1.7.0.jar
  - commons-codec-1.3.jar
  - commons-collections-3.2.jar
  - commons-digester-1.8.jar
  - commons-discovery-0.4.jar
  - commons-logging-1.1.1.jar
  - myfaces-api-1.2.8.jar
  - myfaces-impl-1.2.8.jar
18. open drools-guvnor\WEB-INF/lib and add the followin JARs
  - asm.jar
  - cglib.jar
  - commons-logging-1.1.1.jar
  - hibernate3.jar
  - hibernate-annotations.jar
  - hibernate-commons-annotations-3.1.0.GA.jar
  - hibernate-entitymanager.jar
  - log4j.jar
19. open the file drools-guvnor\WEB-INF \components.xml and replace

<core:init transaction-management-enabled="false"/>
<transaction:no-transaction/>

with : <core:init debug="true" jndi-pattern="\#{ejbName}/local" />

20. In  <component name="repositoryConfiguration"> add:
  <property name="homeDirectory">E:/GuvnorRepo/</property>
don't forget to create a "GuvnorRepo" directory on E:\

21. start the server and enjoy with Guvnor on http//localhost
:7001/drools-guvnor/

 

Deploy on Tomcat

designer中增加jar包 log4j-1.2.12.jar, antlr-2.7.7.jar

jbpm.xml修改对guvnor的访问上下文

 

Guvnor 5.4

修改WEB-INF/beans.xml,配置repository目录

注意slf4j jar包的兼容

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值