This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes Jboss 6.0 Context Manager Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss 6.0 Context Manager Problem" Watch "Jboss 6.0 Context Manager Problem" New topic
Author

Jboss 6.0 Context Manager Problem

Uygur Ipek
Greenhorn

Joined: May 28, 2011
Posts: 2
Hello everyone,

I am a newbie in JBoss and EJB. My problem is that when I try to create EntityManager, it returns null an I am getting an exception.


I configured the persistence.xml like


I used it to create Entities in my Mysql database and it works fine.
I am calling an stateless session bean in my servlet and when I try to use Context Manager in this session bean it gives an exception
It took my a lot of time to learn these stuffs and now I am desperate because of this exception. I have to finish this project before Monday.
I really need helps.

Sincerely..
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10379
    
174

I am calling an stateless session bean in my servlet


Can you post that code from the servlet, please?


[My Blog] [JavaRanch Journal]
Uygur Ipek
Greenhorn

Joined: May 28, 2011
Posts: 2
Thank you Jaikiran for your response. I actually tried to open a new project in Java EE 6 and now its working properly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss 6.0 Context Manager Problem