[jboss-user] [jBPM] - Re: jbpm hibernate persistence

J J do-not-reply at jboss.com
Wed Mar 23 14:06:20 EDT 2011


J J [http://community.jboss.org/people/joshjdevl] created the discussion

"Re: jbpm hibernate persistence"

To view the discussion, visit: http://community.jboss.org/message/595166#595166

--------------------------------------------------------------
Do you have an example to share?

I tried

{code}
env.set(EnvironmentName.TRANSACTION, jtaTransactionManager.getUserTransaction());
{code}

Though receive

{code}
Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
          at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
          ... 34 more
Caused by: java.lang.RuntimeException: Could not commit session
          at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:136)
          ... 39 more
Caused by: java.lang.NullPointerException
          at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:125)
          ... 39 more
{code}
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/595166#595166]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110323/a6a7d0d8/attachment.html 


More information about the jboss-user mailing list