[
https://jira.jboss.org/jira/browse/JBPM-2339?page=com.atlassian.jira.plug...
]
Tom Baeyens commented on JBPM-2339:
-----------------------------------
[15:44:08] Tom Baeyens says: so there is not really a way on how we can have 1 lookup that
works for many environments
[15:44:27] Tom Baeyens says: although
[15:44:58] Tom Baeyens says: the java:comp:/UserTransaction should be available, no ?
[15:45:02] Tom Baeyens says: as it is inside an ejb
[15:47:45] Heiko Braun says: "java:comp:/UserTransaction" is (per spec)
available to any j2ee component. but not the deployer
[15:48:16] Heiko Braun says: "UserTransaction" is available to all components on
jboss
[15:48:24] Heiko Braun says: incl. the deployer
[15:48:34] Heiko Braun says: so, it remains portable
[15:48:40] Heiko Braun says: the way it is now
[15:48:57] Tom Baeyens says: ok
Complete JTA transaction refactoring
------------------------------------
Key: JBPM-2339
URL:
https://jira.jboss.org/jira/browse/JBPM-2339
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Bernd Ruecker
Assignee: Tom Baeyens
Priority: Blocker
Fix For: jBPM 4.0
After the JTA refactoring there are two problems left which have to be fixed.
1.) The JtaTransactionInterceptor should work even if there is already running JTA
transaction. Currently a exception is thrown that there is a transaciton ACTIVE. Instead
of that it should just use it and do not create a own one.
2.) Suspending the transaction shouldn't be done in JtaTransactionInterceptor like it
is done at the moment. The use case is to support nested transactions for the job executor
(where it decrements the counter and maybe stores exceptions). The necessary code should
be placed in the JobExecutor (so it should use Transaction.suspend directly), so it is at
the right place. The current implementation with suspending every COMMITTED transaction it
finds in the JtaTransactionInterceptor is hacky.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira