I am trying to configure an jbpm within an embdedded J2EE Application and am stuck on the configuration of the transaction support.
I followed the configuration as best I could from the documentation from chapter 8 section 3 for CMT however it appears that what is documented is from jbpm 5 as the following Snippet does not seem valid anymore
Environment env = EnvironmentFactory.newEnvironment();
Is there any direction here. I tried to set the variable as indicated in the documentation but am getting
[1/28/14 17:56:19:185 EST] 00000073 SystemErr | R Caused by: java.lang.IllegalStateException |
[1/28/14 17:56:19:185 EST] 00000073 SystemErr | R at com.ibm.ws.Transaction.JTA.TransactionSynchronizationRegistryImpl.registerInterposedSynchronization(TransactionSynchronizationRegistryImpl.java:57) |
[1/28/14 17:56:19:185 EST] 00000073 SystemErr | R at org.drools.persistence.TransactionSynchronizationRegistryHelper.registerTransactionSynchronization(TransactionSynchronizationRegistryHelper.java:10) |
[1/28/14 17:56:19:185 EST] 00000073 SystemErr | R at org.jbpm.persistence.jta.ContainerManagedTransactionManager.registerTransactionSynchronization(ContainerManagedTransactionManager.java:74) |
[1/28/14 17:56:19:185 EST] 00000073 SystemErr | R at org.drools.persistence.SingleSessionCommandService.registerRollbackSync(SingleSessionCommandService.java:431) |
[1/28/14 17:56:19:185 EST] 00000073 SystemErr | R at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:124) |
[1/28/14 17:56:19:186 EST] 00000073 SystemErr | R ... 108 more |
Should I be persuing transaction support another way? Please advise