wood burning stoves 2.0*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting SessionContext as null in EJB 2.1