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&...]