java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName PetstorePu

Oracle Community | cyrille37 | 1 decade 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

    petstore-2 :Unable to retrieve EntityManagerFactory

    Oracle Community | 1 decade ago | cyrille37
    java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName PetstorePu
  2. 0

    GlassFish Users - Error: Unable to retrieve EntityManagerFactory for unitName ...

    nabble.com | 1 year ago
    java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName xxx
  3. 0

    Error: Unable to retrieve EntityManagerFactory for unitName ...

    Oracle Community | 8 years ago | melodyk
    java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName xxx
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to retrieve EntityManagerFactory for unitName PetstorePu

      at com.sun.enterprise.util.EntityManagerFactoryWrapper.getDelegate()
    2. Common Utilities
      EntityManagerFactoryWrapper.createEntityManager
      1. com.sun.enterprise.util.EntityManagerFactoryWrapper.getDelegate(EntityManagerFactoryWrapper.java:159)
      2. com.sun.enterprise.util.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:181)
      2 frames
    3. com.sun.javaee
      CatalogServlet.doGet
      1. com.sun.javaee.blueprints.petstore.model.CatalogFacade.getCategories(CatalogFacade.java:39)
      2. com.sun.javaee.blueprints.petstore.controller.CatalogServlet.handleCategories(CatalogServlet.java:239)
      3. com.sun.javaee.blueprints.petstore.controller.CatalogServlet.doGet(CatalogServlet.java:124)
      3 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    5. Glassfish Core
      ApplicationFilterChain.servletService
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
      1 frame