Hi Chris,

    This link could help you to understand OFBiz Setup & JNDI Configuration.

    http://svn.apache.org/repos/asf/ofbiz/site/docs/config_deploy_maint.html


-- 
Thanks & Regards,
Pankaj Savita
Mob: +91 9890262476
Mail to: pankajsav...@gmail.com



On Sun, Sep 26, 2010 at 11:12 PM, chris snow <chsnow...@gmail.com> wrote:

> 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?
>

Reply via email to