Hi BJ,
I was specifically looking at 9.04, GeronimoContainer - it is binding
the GeronimoTransactionManager to jndi:
InitialContext ic = new InitialContext();
ic.rebind("java:comp/UserTransaction", new
GeronimoTransactionManager());
But in the GeronimoTransactionFactory it looks like JNDI is bypassed:
static {
// creates an instance of Geronimo transaction context, etc
with a local transaction factory which is not bound to a registry
try {
transactionLog = new UnrecoverableLog();
geronimoTransactionManager = new
GeronimoTransactionManager(defaultTransactionTimeoutSeconds,
(XidFactory)new XidFactoryImpl(), transactionLog);
} catch (XAException e) {
Debug.logError(e, "Error initializing Geronimo transaction
manager: " + e.toString(), module);
}
}
So is the JNDI binding not used?