Forums Register Login

Transaction and Websphere - problems

+Pie Number of slices to send: Send
Hi

I'am trying to use transaction in my webService which is installed on Websphere Application Server.

I've found pice of code

Code which is connect to the database is working when i not use transaction.

When I invoke my service (with this code) i have error:
javax.naming.NameNotFoundException: Name "comp/env/UserTransaction" not found in context "java:"

What should I do else to start use transaction in my webService?

thanks
rafal
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 759 times.
Similar Threads
Transaction and Websphere - problems
UserTransaction object in remote client
Accessing UserTransaction object on JBoss 4.0.1 from remote client
EJB transaction issue
UserTransaction in Hibernate
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:18:17.