File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction and Websphere - problems

 
Rafal Mrozik
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic