There was some work done in trunk, to fix VFS, we added pluggable discovery. It 
defaults to File, but if the vfs jar is on the claspath it uses that. We setup 
a container test 
here:https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-jboss-integration/src/test/java/org/drools/jboss/integration/DroolsTest.java

Mark
On 31 May 2013, at 20:29, dastraub <d...@ctrlaltdel.de> wrote:

> ClasspathKieProject isn't able to resolve knowledgebase from a JBoss 7
> deployments :
> 17:34:02,419 INFO  [stdout] (MSC service thread 1-5) kmodules:
> vfs:/content/rtm-cep-impl.war/WEB-INF/classes/META-INF/kmodule.xml
> 17:34:39,089 ERROR
> [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service
> thread 1-5) Unable to build index of kmodule.xml
> url=vfs:/content/rtm-cep-impl.war/WEB-INF/classes/META-INF/kmodule.xml
> null
> 
> To fix this (I have a presentation about a project prototype on monday ...),
> I  made the following changes:
> 
> 
> 
> After some NPE-Fixes in the same class, the ClasspathKieProject is able to
> resolve the rules 
> 
> 
> 
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/Unable-to-resolve-knowledgebase-from-classpath-in-JBoss-7-VFS-tp4024064.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