-
1. Re: jBPM5 Spring Integration: 'jbpm:kbase' can not be found
eaa Feb 20, 2012 5:18 AM (in response to liliana.iovanovici)Could you please post the entire configuration file?
Best Regards,
-
2. Re: jBPM5 Spring Integration: 'jbpm:kbase' can not be found
liliana.iovanovici Feb 20, 2012 6:26 AM (in response to eaa)<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jbpm="http://drools.org/schema/drools-spring"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://drools.org/schema/drools-spring
http://drools.org/schema/drools-spring.xsd
">
<jbpm:kbase id="kbase">
<jbpm:resources>
<jbpm:resource type="BPMN2" source="classpath:Hi.bpmn" />
</jbpm:resources>
</jbpm:kbase>
<jbpm:ksession id="ksession" type="stateful" kbase="kbase">
<jbpm:configuration>
<jbpm:jpa-persistence>
<jbpm:entity-manager-factory ref="entityManagerFactory"/>
<jbpm:transaction-manager ref="transactionManager"/>
</jbpm:jpa-persistence>
</jbpm:configuration>
</jbpm:ksession>
<bean id="jbpmEngine" class="spring.integration.jbpm.JBPMEngine">
</bean>
</beans>
-
3. Re: jBPM5 Spring Integration: 'jbpm:kbase' can not be found
liliana.iovanovici Feb 20, 2012 7:41 AM (in response to liliana.iovanovici)Also when I validated the spring-conf.xml file I got the error: Referenced file contains error: http://drools.org/schema/drools-spring.xsd
-
4. Re: jBPM5 Spring Integration: 'jbpm:kbase' can not be found
liliana.iovanovici Feb 21, 2012 2:40 AM (in response to liliana.iovanovici)It seems that when I save a drools-spring.xsd to my project and give the path to it in spring-conf.xml is working. Also for jBPM Spring Integration we need the library drools-spring and drools-core must have at least 5.3.1.
-
5. Re: jBPM5 Spring Integration: 'jbpm:kbase' can not be found
jbize Feb 21, 2012 8:22 AM (in response to liliana.iovanovici)liliana,
Did you get this integration to work? Are you using a Mina task server, or a LocalTaskServer? I found the drools-spring-5.3.1.Final.jar at grepcode.com and noticed that it is dependent on Spring 2.5. But I noticed from your code above, that you are using Spring 3.0. Have you tried with Spring 3.1?
Thanks,
John
-
6. Re: jBPM5 Spring Integration: 'jbpm:kbase' can not be found
hadik Feb 23, 2012 11:32 PM (in response to liliana.iovanovici)