Re: [rules-users] Rules not picked when packaged inside the JAR

2014-07-05 Thread Sumit Dhaniya
Hi, I'm also trying to create beans of KieBase objects declared in my kmodule.xml file which is in a jar imported by using maven dependencies in my project but it doesn't work. Below are few methodologies I tried :- @KBase(name=defaultKieBase) @KReleaseId(artifactId=com.demo,

Re: [rules-users] Rules not picked when packaged inside the JAR

2014-05-12 Thread alanvarghese
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

Re: [rules-users] Rules not picked when packaged inside the JAR

2014-05-06 Thread Mark Proctor
to the discussion below: http://drools.46999.n3.nabble.com/Rules-not-picked-when-packaged-inside-the-JAR-tp4029378p4029432.html To unsubscribe from Rules not picked when packaged inside the JAR, click here. NAML View this message in context: Re: [rules-users] Rules not picked when packaged inside the JAR

Re: [rules-users] Rules not picked when packaged inside the JAR

2014-05-05 Thread Ashish Nayyar
Can anyone help here please ? I am working on DROOLS 6.0.1 application. I have my rule files (*.drl) packaged inside a separate project which is included as a jar file as a maven dependency. When I deploy my project, KIEModule is not able to find the rules files (which are packaged inside the jar

Re: [rules-users] Rules not picked when packaged inside the JAR

2014-05-05 Thread Mark Proctor
This may be a container issue, which container are you using? It doesn’t locate resources via the classloader. Instead it locates the jar on the file system and scans the contents of the jar. The jar must have a kmodule.xml file inside of it to be recognised and it’s resources added. We know

Re: [rules-users] Rules not picked when packaged inside the JAR

2014-05-05 Thread ash316
I am using JBOSS 6.1 EAP and my application also uses kie-spring 6.1-Beta On May 6, 2014 12:03 PM, Mark Proctor [via Drools] ml-node+s46999n4029432...@n3.nabble.com wrote: This may be a container issue, which container are you using? It doesn’t locate resources via the classloader. Instead it