[rules-dev] Guvnor on Weblogic 11g AS

mamadou.ensi mohamed.ensi at gmail.com
Thu May 20 03:14:50 EDT 2010


Hi,

Today, I will explain how to get Guvnor worked on Weblogic application
server

Lets start

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/

I hope I was clear
for any information please contact me
Regards


-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-on-Weblogic-11g-AS-tp831111p831111.html
Sent from the Drools - Dev mailing list archive at Nabble.com.


More information about the rules-dev mailing list