javax.ejb.EJBException: Couldn't create EntityManager for refName: br.com.xyz.rooms.dao.impl.GenericHibernateDao/em

Oracle Community | kern.augusto | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ClassNotFoundException: org.hibernate.ejb.EntityManagerImpl

    Oracle Community | 5 years ago | kern.augusto
    javax.ejb.EJBException: Couldn't create EntityManager for refName: br.com.xyz.rooms.dao.impl.GenericHibernateDao/em

    Root Cause Analysis

    1. javax.ejb.EJBException

      Couldn't create EntityManager for refName: br.com.xyz.rooms.dao.impl.GenericHibernateDao/em

      at com.sun.ejb.containers.StatefulSessionContainer.repopulateEEMMapsInContext()
    2. Embedded GlassFish Web
      SessionObjectReferenceImpl.remove
      1. com.sun.ejb.containers.StatefulSessionContainer.repopulateEEMMapsInContext(StatefulSessionContainer.java:2483)
      2. com.sun.ejb.containers.StatefulSessionContainer.activateEJB(StatefulSessionContainer.java:2383)
      3. com.sun.ejb.containers.util.cache.LruSessionCache.lookupEJB(LruSessionCache.java:275)
      4. com.sun.ejb.containers.StatefulSessionContainer._getContext(StatefulSessionContainer.java:1416)
      5. com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2528)
      6. com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1895)
      7. com.sun.ejb.containers.StatefulSessionContainer.removeBean(StatefulSessionContainer.java:968)
      8. com.sun.ejb.containers.EJBLocalObjectImpl.remove(EJBLocalObjectImpl.java:187)
      9. com.sun.ejb.containers.EjbContainerServicesImpl.remove(EjbContainerServicesImpl.java:154)
      10. org.glassfish.weld.ejb.SessionObjectReferenceImpl.remove(SessionObjectReferenceImpl.java:69)
      10 frames
    3. Weld Implementation
      ProxyMethodHandler.invoke
      1. org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:107)
      2. org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:62)
      3. org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
      3 frames