[rules-users] Kie Spring integration

sumit dhaniya sumitdhaniya at gmail.com
Sun Jul 6 13:42:01 EDT 2014


Sorry I didn't mentioned this earlier but when I deploy my project below
are few errors I get :-

INFO  ClasspathKieProject - Found kmodule:
jar:file:/C:/Users/Sumit%20Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar!/META-INF/kmodule.xml
ERROR ClasspathKieProject - Unable to load pom.properties
from/C:/Users/Sumit
Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar as jarPath
cannot be found
/Users/Sumit Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar
ERROR ClasspathKieProject - Unable to load pom.properties
from/C:/Users/Sumit
Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar
\Users\Sumit
Dhaniya\.m2\repository\com\demo\FirstDemo\1.0\FirstDemo-1.0.jar (The system
cannot find the path specified)
ERROR ClasspathKieProject - Unable to build index of kmodule.xml
url=jar:file:/C:/Users/Sumit%20Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar!/META-INF/kmodule.xml

Below is the conf. I did for drools in my conf. file :-

<kie:kmodule id="kmodule1">
<kie:kbase name="defaultKieBase" default="true"
eventProcessingMode="cloud" equalsBehavior="identity"
declarativeAgenda="disabled"
scope="javax.enterprise.context.ApplicationScoped"
packages="com.sophic.drool">
<kie:ksession name="defaultKieSession" type="stateful"
default="true" clockType="realtime"
scope="javax.enterprise.context.ApplicationScoped" />
<kie:ksession name="defaultStatelessKieSession" type="stateless"
default="true" clockType="realtime"
scope="javax.enterprise.context.ApplicationScoped" />
</kie:kbase>
</kie:kmodule>
<bean id="kiePostProcessor"
class="org.kie.spring.KModuleBeanFactoryPostProcessor" />


On Sun, Jul 6, 2014 at 9:39 PM, vinodkiran <vinodkiran at usa.net> wrote:

> if you are using a spring XML with annotations please ensure that the
> following declaration is available in the XML file
>
> <bean id="kiePostProcessor"
> class="org.kie.spring.annotations.KModuleAnnotationPostProcessor"/>
>
> Sample:
>
>
> https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-spring/src/test/resources/org/kie/spring/annotations/kie-spring-annotations.xml
>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Kie-Spring-integration-tp4030243p4030249.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140706/4f089446/attachment.html 


More information about the rules-users mailing list