TransactionLocal.get() not sufficiently pluggable
-------------------------------------------------
Key: JBAS-4748
URL:
http://jira.jboss.com/jira/browse/JBAS-4748
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Transaction Manager
Affects Versions: JBossAS-4.2.1.GA, JBossAS-5.0.0.Beta2
Reporter: Jonathan Halliday
Assigned To: Jonathan Halliday
Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA
per discussion in forum thread ref below, the TransactionLocal.get() method calls
storeValue in certain cases. Although the javadoc warns that the method may throw
IllegalStateException, not all of the code in the app server that uses it can actually
deal with that. With the old delegate implementation it did not need to. With changes to
the way the TransactionLocalDelegate is implemented by JBossTS, this stared to cause
problems. Per Adrian's suggestion this is resolved by masking the exception if it
occurs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira