I was asked how I deployed Guvnor on Weblogic 10.x.  I believe the
procedure will be the same for both 9.x and 10.x... 

 

You will have to make some changes to the WAR file.  

 

1.  Create a weblogic.xml file like the one below and put it in WEB-INF\

<?xml version="1.0" encoding="UTF-8"?>

<weblogic-web-app
xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app";>

<container-descriptor>

  <prefer-web-inf-classes>true</prefer-web-inf-classes>

</container-descriptor>

</weblogic-web-app>

 

2. Added the following JARS in WEB-INF\lib

commons-beanutils-1.7.0.jar

commons-codec-1.3.jar

commons-digester-1.8.jar

commons-discovery-0.4.jar

concurrent-1.3.4.jar

hibernate-annotations-3.4.0.GA.jar

hibernate-commons-annotations-3.1.0.GA.jar

hibernate-core-3.3.0.SP1.jar

hibernate-entitymanager-3.4.0.GA.jar

myfaces-api-1.2.6.jar

myfaces-impl-1.2.6.jar

 

Now don't ask me how I came up with this list.  I honestly don't
remember.  I believe it was largely trial an error.  Basically
starting/restarting the app server and see which
"NoClassDefinitionFound" error came up next.   

 

I think the Drools builds process lists a few things as "provided" in
the Maven setup for Guvnor assuming they're present in the app server
itself.  In JBoss they likely are, but in other vendors they are not.  

 

Macon

 

 

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to