File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Getting SessionContext as null in EJB 2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Getting SessionContext as null in EJB 2.1" Watch "Getting SessionContext as null in EJB 2.1" New topic
Author

Getting SessionContext as null in EJB 2.1

Viidhya Kishore
Ranch Hand

Joined: Jan 03, 2007
Posts: 99
Hello all,

I am new to EJB. I created a new EJB Stateless session bean.
I am trying to access ctx.getUserTransaction() and get a null pointer exception as ctx is null.

Any ideas please?

Thanks.
 
wood burning stoves
 
subject: Getting SessionContext as null in EJB 2.1