[jboss-user] [jBPM] - Re: Session and thread safety

Marcin Gałązka do-not-reply at jboss.com
Tue Mar 13 19:14:34 EDT 2012


Marcin Gałązka [https://community.jboss.org/people/marcin.galazka] created the discussion

"Re: Session and thread safety"

To view the discussion, visit: https://community.jboss.org/message/723636#723636

--------------------------------------------------------------
New version (workflow-test-case-v2.tar.gz) attached. Use 'mvn -Dgroups=spring clean test' to run Spring based test or 'mvn -Dgroups=simple clean test' to run non-Spring based test. Do not run both tests at once ('mvn clean test') - it looks that due to the some background thread spawned by Bitronix TM a data source isn't unbinded from JNDI fast enough and you will get 'java.lang.IllegalArgumentException: resource with uniqueName 'jdbc/jbpm-ds' has already been registered'. I did not investigate the matter further, it is irrelevant here.

I've also fixed parallel tests (mis)configuration.

Every tests (Spring, non-Spring) contains two methods:
- testOwnTransaction - should pass.
- testJoinedTransactions - should fail.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20120313/1734a4b1/attachment.html 


More information about the jboss-user mailing list