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.