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包的兼容