File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Transaction and Websphere - problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transaction and Websphere - problems" Watch "Transaction and Websphere - problems" New topic

Transaction and Websphere - problems

Rafal Mrozik

Joined: Jan 24, 2008
Posts: 10

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?

I agree. Here's the link:
subject: Transaction and Websphere - problems
It's not a secret anymore!