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


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: 10141
    
165

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