5 Replies Latest reply on Nov 12, 2009 12:32 PM by Ronald van Kuijk

    Error while starting process instance

    Gascoin Antoine Newbie

      Hi there,

      I'm new on jBPM and trying it for the first time. But I'm blocked on an error : while I'm trying to start a test process instance through GWT Console (jBPM Console), I got this error :

      * URL: 'http://localhost:8080/gwt-console-server/rs/process/definition/processTest-1/new_instance'
       * Action: 'org.jboss.bpm.console.client.process.StartNewInstanceAction'
       * Exception: 'class com.google.gwt.http.client.RequestException'
      
      HTTP 500: Unknown error


      Is this error due to a configuration problem ?
      Can you help me about it ?

      Thank you ;)

        • 1. Re: Error while starting process instance
          Sebastian Schneider Master

          To be able to help you more information is needed. This just tells that there was a problem when the console sent the request to start the new instance. The console communicates over an REST interface with the engine. We need a full error log etc.

          Look here:
          http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610

          • 2. Re: Error while starting process instance
            Gascoin Antoine Newbie

            Sorry I've posted without reading this topic :s

            I will prepared those informations tomorrow and post them here.

            • 3. Re: Error while starting process instance
              Margot Media Newbie

              Hi I have the following problem Please can anyone help

              17:22:27,109 ERROR [STDERR] java.lang.IllegalArgumentException: Unknown entity: org.drools.persistence.processinstance.ProcessInstanceInfo
              17:22:27,109 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:215)
              17:22:27,109 ERROR [STDERR] at org.drools.persistence.processinstance.JPAProcessInstanceManager.addProcessInstance(JPAProcessInstanceManager.java:33)
              17:22:27,109 ERROR [STDERR] at org.drools.process.instance.AbstractProcessInstanceFactory.createProcessInstance(AbstractProcessInstanceFactory.java:3
              17:22:27,109 ERROR [STDERR] at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1706)
              17:22:27,109 ERROR [STDERR] at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1682)
              17:22:27,109 ERROR [STDERR] at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:289)
              17:22:27,109 ERROR [STDERR] at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:52)
              17:22:27,109 ERROR [STDERR] at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:14)
              17:22:27,109 ERROR [STDERR] at org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:254)
              17:22:27,109 ERROR [STDERR] at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:16
              17:22:27,109 ERROR [STDERR] at org.drools.integration.console.DroolsFlowCommandDelegate.startProcess(DroolsFlowCommandDelegate.java:125)
              17:22:27,109 ERROR [STDERR] at org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:64)
              17:22:27,109 ERROR [STDERR] at org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:60)
              17:22:27,109 ERROR [STDERR] at org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:189)
              17:22:27,109 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              17:22:27,109 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              17:22:27,109 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              17:22:27,109 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
              17:22:27,109 ERROR [STDERR] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
              17:22:27,109 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              17:22:27,109 ERROR [STDERR] at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              17:22:27,109 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              17:22:27,109 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
              17:22:27,109 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              17:22:27,109 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              17:22:27,109 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
              17:22:27,109 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
              17:22:27,109 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              17:22:27,109 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
              17:22:27,109 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
              17:22:27,109 ERROR [STDERR] Nov 12, 2009 5:22:27 PM org.jboss.resteasy.core.SynchronousDispatcher handleWebApplicationException
              SEVERE: failed to execute
              javax.ws.rs.WebApplicationException: java.lang.RuntimeException: Could not rollback transaction
              at org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:194)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
              at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
              at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
              at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
              at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
              at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
              at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
              at java.lang.Thread.run(Unknown Source)
              Caused by: java.lang.RuntimeException: Could not rollback transaction
              at org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:283)
              at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:163)
              at org.drools.integration.console.DroolsFlowCommandDelegate.startProcess(DroolsFlowCommandDelegate.java:125)
              at org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:64)
              at org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:60)
              at org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:189)
              ... 36 more
              Caused by: java.lang.RuntimeException: Could not execute command
              at org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:280)
              ... 41 more
              Caused by: java.lang.IllegalArgumentException: Unknown entity: org.drools.persistence.processinstance.ProcessInstanceInfo
              at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:215)
              at org.drools.persistence.processinstance.JPAProcessInstanceManager.addProcessInstance(JPAProcessInstanceManager.java:33)
              at org.drools.process.instance.AbstractProcessInstanceFactory.createProcessInstance(AbstractProcessInstanceFactory.java:37)
              at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1706)
              at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1682)
              at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:289)
              at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:52)
              at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:14)
              at org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:254)
              ... 41 more

              • 4. Re: Error while starting process instance
                Sebastian Schneider Master

                margotmedia, read the link I posted above and start your own thread. Don't take over threads, thank you.

                • 5. Re: Error while starting process instance
                  Ronald van Kuijk Master

                  and it is also the wrong forum. the post is about the non supported drools workflow