Hi,
I have tried this without using spring. It does not work if the drl files
are packaged inside a jar.
I have to copy the drl files into my web application and also copy the
kmodule.xml into my web application.
I am using websphere and the drools 6.0.0.Final
Thanks,
Alan
--
View this
Hi There,
I want to unit test a single rule from a set of multiple rules within
multiple DRL files.
Is there a way to do that?
I am using
Drools 6.0.0.Final
and
StatelessKieSession
Thanks
Alan
--
View this message in context:
Thank you that was a big help.
But I see that I cannot use a StatelessKieSession to do that.
I have to use a Stateful Session.
Is there anyway I can use a StatelessKieSession to unit test a single rule?
--
View this message in context:
OK Agreed. I can definitely work with that.
Thanks Again.
But my main problem is that the LHS for all the rules in my dslr files fires
as soon as I execute.
kieSession.insert(output);
I want only the LHS for the rule that I am unit testing to fire.
Is there any way to do that?
--
View this
I debugged the issue.
Hi The problem is that it fails when you have the sessions and modules
defined in a jar.
The path to the pom.properties in the jar file is:
META-INF\maven\com.verisk.sws.csp\cepCSP
Also I have the issue with webpshere. This treats jars as wsjar
There is no condition in the
I am getting this error.
Using kie-spring-6.0.1.Final.jar
spring-webmvc-4.0.0.RELEASE.jar
drools-core-6.0.1.Final.jar
Can you please help?
[3/21/14 10:16:11:264 EDT] 009f DispatcherSer I
org.springframework.web.servlet.FrameworkServlet initServletBean
FrameworkServlet 'spring':
The above code works perfectly if it is a batch program.
It doesn't work in a Spring MVC web project.
Is that a known issue?
ContextLoader E org.springframework.web.context.ContextLoader
initWebApplicationContext Context initialization failed