-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Amol,
Amol Chaudhari wrote: > jndiContextRoot.lookup("java:comp/UserTransaction"); Did you ever setup this JNDI object? Where is the configuration for that? (Please excuse my ignorance... I don't use transations in such a manner). > If I comment out the UserTransaction part from the above code, things > work perfectly fine. Really? I would have expected NullPointerExceptions all over the place if you never retrieved the UserTransaction object successfully. > Here you may say that its not necessary to use it. But this is my > sample application, built simply to localize the problem. In my > project it is necessary to use it. Okay. How does the transaction thing get into JNDI? Do you create that object somewhere and stuff it in there? It seems a little fragile... don't multiple requests to the same page share that transaction and ... well, totally fail? Again, I may completely misunderstand the way these JNDI-based transactions work. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGrfGT9CaO5/Lv0PARAvZsAKCEG72zPQBcuEG+ctnX7zc+FVtegwCgihYG Gxp3sRmWNcgK9IRHtYUlY0M= =HU6N -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]