Hi,

 

I use Eclipse Galileo to deploy my EAR application and run a JBoss server (version 5.1.0GA).

In order to work with Drools, I added the following jars under my JBoss configuration lib/ folder: drools-api.jar, drools-compiler.jar,  drools-core.jar

My EAR include 2 .drl files – one is loaded and executed in a Servlet that is loading on startup when JBoss is booting, and the other is loading and running from the EJB layer.

When JBoss is launched from scratch, the rules get executed normally.

The rules get executed normally also when JBoss is stopped and started again.

 

When I republish my EAR while JBoss is running, Eclipse will undeploy the old EAR and redeploy the new EAR, as it would normally do.

However, in this case (republish/redeploy), no rules get executed except rules with empty “when” clause.

I found a solution for this problem by replacing the 3 drools jar files from version 5.1.1 to version 5.0.1.

 

In addition to my EAR, the JBoss server also runs Guvnor war. Guvnor 5.1.1 includes new features that I would like to use.

As I understand, reverting the 3 jars to 5.0.1 means I cannot use Guvnor v5.1.1.

 

I would appreciate help with solving this problem.

 

Best regards,

Ran

 

Ran Mochary

Delegate Communications