Hello,

I am having an issue with persisting the Stateful Session in MySQL and
hopefully someone can help.  I'll try and return the favor in the future. 
:-)

I am running the following environment
Drools 5.1M1   (Stateful Rule Session with Persistence)
Tomcat 6
MySQL 5

When I run with a unit test the statefulsession is persisted correctly to
the MySQL database, but when I run in Tomcat I get a NullPointer because the
ProcessInstanceInfo.processInstanceId is null.

It appears that the tag  @GeneratedValue(strategy = GenerationType.AUTO) is
not working for me when connecting to MySQL through a Tomcat pooled
connection.

The unit test is using a PoolingDataSource while Tomcat is using a resource
in Context.xml.  

Has anyone seen a similar issue or can provide a direction for me to look?

Thanks for any help,
Barry




-- 
View this message in context: 
http://old.nabble.com/ProcessInstanceInfo.processInstanceId-null-with-MySQL---Tomcat-tp26163591p26163591.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to