Hi all,

i am having problems using drools together with tomcat (5.0). This is what
happens: When I deploy an application with drools using the java, groovy or
python semantics, the tomcat server and the application starts up without
problems. But when I make a hot deploy on the application, the tomcat server
seems to keep a lock on the core drools jar files preventing them from being
deleted, and therefore making it impossible to redeploy.

When using only the native (java) way of defining rules and rulebases,
everything works fine. I did read in jira and this mailing list archive
about some classloader issues on appservers that was solved, but no
mentioning of tomcat.

This problem occurs with both drools 2.1 and 2.5, just tried the latter one
today.

We are using tomcat 5.0.28 (upgrade not possble at the moment). I am
personally no big fan of hot deploy but it is heavily used in the
development phase in a quite large project so it sort of has to work.

The questions if of course if anyone experienced the same, am I doing
something stupid, does drools have to be loaded outside the applications
classloader, or is it actually something of a problem with Drools? Is there
maybe a workaround? Many questions that is!

Any information is appreciated.

Thanks

Kristofer Eriksson

Reply via email to