I guess I had same issue.
Hello all,
I develop an OSGi Drools bundle in Apache Felix. I access to this bundle
with a web service client because I use Apache CXF- DOSGi. Everything is
right here.
But when I try to run this bunle with my client, I get a
FileNotFoundException when I call to the services that I want to use.
This is the error trace:
*java.lang.RuntimeException: java.io.FileNotFoundException: 'RuleFile.drl' c
annot be opened because it does not exist
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilde
r.java:544)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl
.java:28)
at
drools.services.impl.DroolsServicesImpl.readKnowledgeBase(DroolsServi
cesImpl.java:110)...
*
The rule file is in the same classpath, and it is inside the .jar file
Somebody can help me??
Thanks in advance!!
--
View this message in context: http://drools.46999.n3.nabble.com/Rule-File-Not-Found-in-an-OSGi-environment-tp3749500p3749500.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