[
https://jira.jboss.org/browse/JBPM-2878?page=com.atlassian.jira.plugin.sy...
]
Maciej Swiderski commented on JBPM-2878:
----------------------------------------
please have a look at following discussion, it refers to already created issue for that:
http://community.jboss.org/message/546024
JBoss specific code in org.jbpm.pvm.internal.tx.JtaTransaction class
--------------------------------------------------------------------
Key: JBPM-2878
URL:
https://jira.jboss.org/browse/JBPM-2878
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: jBPM 4.3
Environment: jBPM4.3, apache-tomcat-6.0.14, jdk1.6.0_11, MySQL
Reporter: Jayanta Sarkar
Priority: Critical
The org.jbpm.pvm.internal.tx.JtaTransaction class has JBoss specific code which does not
run on Tomcat if JTA transaction is obtained via JOTM.
The code written is as below:
public static final String JNDINAME_USERTRANSACTION_JBOSS_GLOBAL =
"UserTransaction";
public static final String JNDINAME_TRANSACTIONMANAGER_JBOSS_GLOBAL =
"java:/TransactionManager";
But in Tomcat the required code is:
public static final String JNDINAME_USERTRANSACTION_JBOSS_GLOBAL =
"java:comp/env/UserTransaction";
public static final String JNDINAME_TRANSACTIONMANAGER_JBOSS_GLOBAL =
"java:comp/env/TransactionManager";
We have tested this using the above mentioned change and it works. But to make this work
in any server we need one common approach so that it jBPM works in any server apart from
JBoss. This should be externally configurable depending on the server used. I am in the
process of creating one patch for this. I am ready to send that patch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira