--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/f64f670d-260b-495b-b2bb-c65bb3fab78c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Below code you provided is not working as kcontainer doesnt retuen a KBASE but return a session.
Try to move this code out of the callback
KieServices kieServices = KieServices.Factory.get();
KieContainer kContainer = kieServices.getKieClasspathContainer();
final KieBase kbase = kContainer.newKieSession("HelloWorldKB");
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/f742b061-6d1a-46e3-9216-638a2801bbcb%40googlegroups.com.
I tried the same and when i packaged inside the JAR it doesn't work , I tried all possible combination
created a config directory and placed all the DRL files inside that and added that in classpath and KModule is inside META-INF with empty tag but gets below error
Can some please help me where should the DRL file reside in the classpath and where should the Kmodule.xml for stateless session as nothing works with Drools and there is no proper example of doing that ..
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/41ede47b-4f3e-4b52-ad6c-0a838b84358a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/fc957ee1-f89e-42f6-93cc-a8be9ebd5fa8%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/CA%2BWXhSxQ_eB7uayJdCaoRn%3D479OAO1gToSSQJCs5%3D-q-E8wh6Q%40mail.gmail.com.