aspose 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


Win a copy of Java 8 in Action this week in the Java 8 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
 
Similar Threads
How to deploy ejb in weblogic6.1
Set Chained OFF error while executing from my Bean
New to EJB
What is new in EJB 3.1
How to deploy ejb in weblogic6.1