Hello,

as described in your FAQ i tried the
(TransactionManager)context.lookup("java:comp/UserTransaction");
but i get always the exception
   "java:comp/UserTransaction not found"
what goes wrong?

questions:
- why to do
   tm = (TransactionManager)initial.lookup("java:comp/UserTransaction");
and not 
   ut = (UserTransaction)initial.lookup("java:comp/UserTransaction");  ?
- can i change my code to 
   ut = (UserTransaction)tm;  ?

thanks
klaus

--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]

 "There's got to be more to life than compile-and-go."

Reply via email to