[rules-users] Rules dont execute when republishing EAR on JBoss

Ran Mochary ranm at delegatecom.com
Mon Feb 21 08:19:06 EST 2011


Hi,

 

I would appreciate help with my problem of not being able to use Drools jars
5.1.1, as described below.

Is this the proper mailing list?

 

Regards,

Ran

 

From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Ran Mochary
Sent: Tuesday, February 15, 2011 4:55 PM
To: 'Rules Users List'
Subject: [rules-users] Rules dont execute when republishing EAR on JBoss

 

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

 

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3445 - Release Date: 02/15/11

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110221/a220fcfa/attachment.html 


More information about the rules-users mailing list