hi ray,
     Thanks for your prompt reply..  But, i don't need
the JNDI LOOK UP name of the userTransaction,  I need
the "JNDI NAME TO LOOKUP SERVER TRANSACTION MANAGER". 
SO PLEASE SEND ME THAT..

EXPECTING IMMEDIATE REPLY..

THANKING YOU
PATRICK
--- Greg Matthews <[EMAIL PROTECTED]> wrote:
> 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
> >
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

Reply via email to