[rules-users] How to deploy Guvnor on Weblogic 9.x / 10.x - Fixing depdencies
Pegram, Macon
zmpegram at choosehmc.com
Fri Oct 16 11:06:59 EDT 2009
I think the bottom line here is that even though it's going to generate a fatter WAR file, it would be helpful if the Drools team made fewer assumptions about the JARs present in the environment, and modify the build poms to include all dependencies.
>From what I recall of my experience (and you'll have to forgive me, I did this about 4 months ago), it was the lack of "Faces" that required most of the jar files I had to pull in.
Macon
________________________________
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Wesley Akio Imamura
Sent: Friday, October 16, 2009 10:39 AM
To: Rules Users List
Subject: Re: [rules-users] How to deploy Guvnor on Weblogic 9.x / 10.x
Thank you Macon,
I just got guvnor 5.0 running on Weblogic 11g in a different way just putting some jboss-seam-2.1.2 libs inside the war.
2009/10/16 Pegram, Macon <zmpegram at choosehmc.com>
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
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Wesley Akio Imamura
São Paulo - SP - Brazil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091016/4cc982e4/attachment.html
More information about the rules-users
mailing list