2 Replies Latest reply on Apr 14, 2011 7:23 AM by kaissun bs

    Problems with the jbpm-console

    Alexander Jiteg Newbie

      Hi,

       

      I have downloaded, installed and started jbpm-5.1-SNAPSHOT by running the demo setup and following the instructions provided in the user guide. I've seen no errors during installation or start. From Eclipse I can run the the sample provided with the installation.

       

      When i open the jbmp-console and try to examine processed by ckling either "Execution History" or "Process Overview" I get an error message saying:

       

      org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: No Persistence provider for EntityManager named org.jbpm.persistence.jpa

      org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)

      org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)

      org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)

      org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)

      org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)

      org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)

      org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

       

      root cause

      java.lang.RuntimeException: Could not initialize stateful knowledge session: No Persistence provider for EntityManager named org.jbpm.persistence.jpa
           org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:186)
           org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:194)
           org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:72)
           org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
           org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
           org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
           org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
           org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
           sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           java.lang.reflect.Method.invoke(Method.java:597)
           org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
           org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
           org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
           org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
           org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
           org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
           org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
           org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
           org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
           org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

       

       

      Ideas? I'm using Mac OSX 10.6.7 with Java version 1.6.0_24.

       

      Thanks

      /Alex