Newbie here. Appreciate your help.
I am trying to integrate only drools expert (rules) with spring without any
persistence.  In spring beans config, i have specified like this. When i
start my local server, I received the following error.

[PersistenceUnitDeployment] Starting persistence unit
persistence.unit:unitName=#org.drools.grid
ERROR [AbstractKernelController] Error installing to Start:
name=persistence.unit:unitName=#org.drools.grid state=Create
Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a
jta-data-source for a JTA enabled persistence context named: org.drools.grid


Spring beans config 


<?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:drools="http://drools.org/schema/drools-spring";
        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-service-spring";>         

<drools:kbase id="kbase">
  <drools:resources>
    <drools:resource type="DRL"
source="classpath:testSpring.drl"></drools:resource>
  </drools:resources>
</drools:kbase>

<drools:ksession id="statelessKSession" type="stateless"
name="statelessKSession" kbase="kbase"></drools:ksession>
</beans>






--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-rules-spring-integration-without-using-any-persistence-tp3100014p3100014.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to