String jndiName = "javax.transaction.TransactionManager"; if ((FPLocalProperties.APPSERVER_WLS_61.equals(FPLocalProperties.TARGETAPPSERVER))) { jndiName = "javax.transaction.TransactionManager"; } else { jndiName = "TransactionManager"; } try { InitialContext ic = getInitialContext(); TransactionManager tm = (TransactionManager) ic.lookup(jndiName); return tm; } catch (NamingException ex) { throw RMTException.createInstance("Could not get transaction manager.", ex); }
Referenced by:
Comments