We’ve only been developing this on EAP6. I expect EAP5 has a different 
mechanism for it’s virtual file system, and discovery will not work. It’s 
unlikely we’ll get time to investigate this right now, as EAP5 is a low 
priority for us. Although patches (with tests) are always welcome.

Mark


On 3 Jan 2014, at 23:29, sdjoe <joseph.wh...@mitchell.com> wrote:

> I am using Drools 6.0.0.FINAL on JBOSS EAP 5.1.2. My code:     
>                 KieServices ks = KieServices.Factory.get();
>            KieContainer kContainer = ks.getKieClasspathContainer();
>            KieSession kSession = kContainer.newKieSession();
>            kSession.insert(mdxObj);
>            kSession.fireAllRules();
>            
> Works fine outside of the JBOSS container. I am deploying this code within a
> JAR file that is the main part of my EAR file. I feel as though I have tried
> every possible answer I have found on the web for the past two days and this
> is my last resort. 
> 
> Does anyone have any ideas on what could be the problem?
> 
> Thanks,
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/java-lang-RuntimeException-Cannot-find-a-default-KieSession-tp4027512.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to