Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss 6.0 Context Manager Problem

 
Uygur Ipek
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am calling an stateless session bean in my servlet


Can you post that code from the servlet, please?

 
Uygur Ipek
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Jaikiran for your response. I actually tried to open a new project in Java EE 6 and now its working properly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic