mirror of https://github.com/apache/openjpa.git
OPENJPA-1524 Update JNDI lookup to find TransactionManager when running in Apache Aries. Still need to implement a better solution for non-Aries based OSGi environments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920553 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c58af533fb
commit
dbe6745966
|
@ -57,12 +57,13 @@ public class AutomaticManagedRuntime extends AbstractManagedRuntime
|
|||
|
||||
private static final String [] JNDI_LOCS = new String []{
|
||||
"javax.transaction.TransactionManager", // weblogic
|
||||
"java:/TransactionManager", // jboss & jrun
|
||||
"java:/TransactionManager", // jboss, jrun, Geronimo
|
||||
"java:/DefaultDomain/TransactionManager", // jrun too
|
||||
"java:comp/pm/TransactionManager", // orion & oracle
|
||||
"java:comp/TransactionManager", // generic
|
||||
"java:appserver/TransactionManager", // GlassFish
|
||||
"java:pm/TransactionManager", // borland
|
||||
"aries:services/javax.transaction.TransactionManager", // Apache Aries
|
||||
};
|
||||
private static final String [] METHODS = new String[]{
|
||||
"com.arjuna.jta.JTA_TransactionManager.transactionManager", // hp
|
||||
|
|
Loading…
Reference in New Issue