InitialContext ic = new InitialContext();
UserTransaction ut =
(javax.transaction.UserTransaction)ic.lookup("java:comp/UserTransaction");
----- Original Message -----
From: "Ray Harrison" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 3:12 AM
Subject: Re: Most Urgent: How to find jndi lookup name for Transaction
Manager?
> Check out the Orionserver FAQ:
> How do I get a reference to the TransactionManager?
>
>
> import javax.naming.*;
> import javax.transaction.*;
> ...
> TransactionManager manager = (TransactionManager)new
> InitialContext().lookup("java:comp/UserTransaction");
>
>
> Cheers
> Ray
>
>
> --- patrick patrick <[EMAIL PROTECTED]> wrote:
> > Dear all,
> >
> > if any one know how to find the jndi lookup name
> > for the Transaction Manager, please let me know..
> >
> > Thanks
> > patrick
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> > http://geocities.yahoo.com/ps/info1
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
>