java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName PetstorePu at com.sun.enterprise.util.EntityManagerFactoryWrapper.getDelegate(EntityManagerFactoryWrapper.java:159) at com.sun.enterprise.util.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:181) at com.sun.javaee.blueprints.petstore.model.CatalogFacade.getCategories(CatalogFacade.java:39) at com.sun.javaee.blueprints.petstore.controller.CatalogServlet.handleCategories(CatalogServlet.java:239) at com.sun.javaee.blueprints.petstore.controller.CatalogServlet.doGet(CatalogServlet.java:124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    No Bugmate found.