Hi,
We are using Drools 4.0.7 in our Insurance application(policies will be
created). We are facing one issue with saved packages at run time. Using
Jboss server on deployment all the rules are compiling and the .pkg files
storing in a directory folder(eg. C:/Rules). On restart of Jboss server, now
using the saved packages from C:/Rules. App is deploying properly, here
while creating a new policy everything working fine. But if we go thru
already existed policy the app is hanging at setting up facts.
On debug one of the fact is 'PolicyImage' which is all the info of the
policy will be there, here it is hanging up. But some times taking much time
to setup facts.
private void setupFacts(StatefulSession session, List facts) {
try {
List<FactHandle> factHandles = new ArrayList<FactHandle>();
for(int i=0; i < facts.size(); i++) {
factHandles.add(session.insert(facts.get(i))); // here taking much
time/hang
}
} finally {
log.info("< setupFacts");
}
}
Can anybody help what could be the reasonfor this.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-use-already-saved-compiled-packa...
Sent from the Drools: User forum mailing list archive at
Nabble.com.