2 Replies Latest reply on Jul 27, 2012 3:39 PM by Prabakar Singaram

    JBPM5.3-installer, jbpm-console persistence error

    Prabakar Singaram Newbie

      I am testing with jbpm5.3 -installer, after few changes in the persistence.xml all working fine, I sucessfully tested the process flow in the jbpm-console, persistence with mysql db (used the ant script , ant start.demo.db). but I want to further experiment the process flow with human task.

       

      my experiment and problem...

      what I did is as seqence....

      1. login as krisv/krisv and created a process and start process and closed a evaluation task. logged out.(now john and mary tasks pending, the process is not completed)

      2. Stop the server using 'ant stop.demo.db' command.

      3. Start the server using 'ant start.jboss; command  - server started sucessfully

      4. Start the human task service using 'ant start.human.task' - service started successfully but deleted the data from the task table.

      5. I want to log in as john to complete the task created in the (step1).

      6. I loggen in as john/john...all went to wrong...jbpm-console starts blowing ups and throught the following errors....

       

       

      17:14:19,258 ERROR [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.0.2.Final "Arc" started (with errors) in 164170ms - Started 479 of 552 services (6 services failed or missing dependencies, 67 services are passive or on-demand)
      17:14:19,348 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-human-task-war.war"
      17:14:19,348 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console.war"
      17:14:19,348 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console-server.war"
      17:14:19,348 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-form-builder.war"
      17:14:19,348 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "drools-guvnor.war"
      17:14:19,348 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "designer.war"
      17:15:11,925 INFO  [stdout] (http-localhost-127.0.0.1-8080-3) WARN  26-07 17:15:11,925 (RulesRepositoryManager.java:createRulesRepository:65)   Creating RulesRepository with default username.

      17:15:11,925 INFO  [stdout] (http-localhost-127.0.0.1-8080-3) INFO  26-07 17:15:11,925 (RulesRepositoryConfigurator.java:getInstance:46)   Creating an instance of the RulesRepositoryConfigurator.

      17:15:15,147 INFO  [stdout] (http-localhost-127.0.0.1-8080-3) INFO  26-07 17:15:15,147 (DemoAuthenticator.java:authenticate:65)   Demo login for user (admin) succeeded.

      17:15:15,297 WARN  [org.jboss.seam.security.permission.SecurityRuleLoader] (http-localhost-127.0.0.1-8080-3) No security rules configured - rule base permissions will be unavailable.
      17:15:15,487 INFO  [stdout] (http-localhost-127.0.0.1-8080-4) INFO  26-07 17:15:15,487 (DemoAuthenticator.java:authenticate:65)   Demo login for user (admin) succeeded.

      17:15:36,827 INFO  [stdout] (http-localhost-127.0.0.1-8080-4) WARN  26-07 17:15:36,827 (RulesRepositoryManager.java:createRulesRepository:65)   Creating RulesRepository with default username.

      17:15:36,838 INFO  [stdout] (http-localhost-127.0.0.1-8080-4) INFO  26-07 17:15:36,838 (DemoAuthenticator.java:authenticate:65)   Demo login for user (admin) succeeded.

      17:15:36,848 INFO  [stdout] (http-localhost-127.0.0.1-8080-4) INFO  26-07 17:15:36,838 (AuthorizationHeaderChecker.java:loginByHeader:68)   admin authenticated for rest api

      17:15:36,848 INFO  [stdout] (http-localhost-127.0.0.1-8080-4) INFO  26-07 17:15:36,848 (PackageDeploymentServlet.java:execute:143)   PackageName: defaultPackage

      17:15:36,848 INFO  [stdout] (http-localhost-127.0.0.1-8080-4) INFO  26-07 17:15:36,848 (PackageDeploymentServlet.java:execute:144)   PackageVersion: LATEST

      17:15:36,848 INFO  [stdout] (http-localhost-127.0.0.1-8080-4) INFO  26-07 17:15:36,848 (PackageDeploymentServlet.java:execute:145)   PackageIsLatest: true

      17:15:36,848 INFO  [stdout] (http-localhost-127.0.0.1-8080-4) INFO  26-07 17:15:36,848 (PackageDeploymentServlet.java:execute:146)   PackageIsSource: false

      17:15:39,768 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-2) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.ExceptionInInitializerError
      at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at java.lang.Thread.run(Thread.java:736) [:1.6.0]
      Caused by: java.lang.ExceptionInInitializerError
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:222) [:1.6.0]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:89) [classes:]
      at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125) [classes:]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) [:1.6.0]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0]
      at java.lang.reflect.Method.invoke(Method.java:600) [:1.6.0]
      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]
      ... 24 more
      Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:163) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127) [jbpm-gwt-core-5.3.0.Final.jar:]
      at java.lang.J9VMInternals.initializeImpl(Native Method) [:1.6.0]
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) [:1.6.0]
      ... 39 more
      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) [hibernate-entitymanager-3.4.0.GA.jar:]
      at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) [hibernate-entitymanager-3.4.0.GA.jar:]
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.createOrLoadStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:263) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:154) [jbpm-gwt-core-5.3.0.Final.jar:]
      ... 42 more
      Caused by: org.hibernate.HibernateException: Could not find datasource
      at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) [hibernate-entitymanager-3.4.0.GA.jar:]
      at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) [hibernate-annotations-3.4.0.GA.jar:]
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) [hibernate-entitymanager-3.4.0.GA.jar:]
      ... 47 more
      Caused by: java.lang.IllegalStateException
      at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
      at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:116)
      at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:43)
      at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1216)
      at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:111)
      at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:73)
      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
      at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:57)
      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:209)
      at javax.naming.InitialContext.lookup(InitialContext.java:436)
      at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75) [hibernate-core-3.3.2.GA.jar:]
      ... 55 more

      17:15:39,788 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-2) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder (initialization failure)
      at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at java.lang.Thread.run(Thread.java:736) [:1.6.0]
      Caused by: java.lang.NoClassDefFoundError: org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder (initialization failure)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:140) [:1.6.0]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:89) [classes:]
      at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125) [classes:]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) [:1.6.0]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0]
      at java.lang.reflect.Method.invoke(Method.java:600) [:1.6.0]
      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]
      ... 24 more
      Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:163) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127) [jbpm-gwt-core-5.3.0.Final.jar:]
      at java.lang.J9VMInternals.initializeImpl(Native Method) [:1.6.0]
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) [:1.6.0]
      ... 39 more
      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) [hibernate-entitymanager-3.4.0.GA.jar:]
      at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) [hibernate-entitymanager-3.4.0.GA.jar:]
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.createOrLoadStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:263) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:154) [jbpm-gwt-core-5.3.0.Final.jar:]
      ... 42 more
      Caused by: org.hibernate.HibernateException: Could not find datasource
      at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) [hibernate-entitymanager-3.4.0.GA.jar:]
      at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) [hibernate-annotations-3.4.0.GA.jar:]
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) [hibernate-entitymanager-3.4.0.GA.jar:]
      ... 47 more
      Caused by: java.lang.IllegalStateException
      at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
      at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:116)
      at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:43)
      at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1216)
      at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:111)
      at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:73)
      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
      at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:57)
      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:209)
      at javax.naming.InitialContext.lookup(InitialContext.java:436)
      at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75) [hibernate-core-3.3.2.GA.jar:]
      ... 55 more

      17:15:41,400 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-3) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder (initialization failure)
      at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
      at java.lang.Thread.run(Thread.java:736) [:1.6.0]
      Caused by: java.lang.NoClassDefFoundError: org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder (initialization failure)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:140) [:1.6.0]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72) [classes:]
      at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101) [classes:]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) [:1.6.0]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0]
      at java.lang.reflect.Method.invoke(Method.java:600) [:1.6.0]
      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]
      ... 24 more
      Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:163) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127) [jbpm-gwt-core-5.3.0.Final.jar:]
      at java.lang.J9VMInternals.initializeImpl(Native Method) [:1.6.0]
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) [:1.6.0]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:89) [classes:]
      at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125) [classes:]
      ... 33 more
      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) [hibernate-entitymanager-3.4.0.GA.jar:]
      at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) [hibernate-entitymanager-3.4.0.GA.jar:]
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.createOrLoadStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:263) [jbpm-gwt-core-5.3.0.Final.jar:]
      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:154) [jbpm-gwt-core-5.3.0.Final.jar:]
      ... 42 more
      Caused by: org.hibernate.HibernateException: Could not find datasource
      at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) [hibernate-entitymanager-3.4.0.GA.jar:]
      at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) [hibernate-core-3.3.2.GA.jar:]
      at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) [hibernate-annotations-3.4.0.GA.jar:]
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) [hibernate-entitymanager-3.4.0.GA.jar:]
      ... 47 more
      Caused by: java.lang.IllegalStateException
      at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
      at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:116)
      at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:43)
      at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1216)
      at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:111)
      at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:73)
      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
      at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:57)
      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:209)
      at javax.naming.InitialContext.lookup(InitialContext.java:436)
      at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75) [hibernate-core-3.3.2.GA.jar:]
      ... 55 more

       

       

      thanks,

        • 1. Re: JBPM5.3-installer, jbpm-console persistence error
          Prabakar Singaram Newbie

          add to my privious post...

          after restate the all and try using the ant start.demo.db...

          I go the following error...

          :\JBPM\jbpm-installer>ant start.demo.db
          uildfile: D:\JBPM\jbpm-installer\build.xml

          heck.jboss.version:

          ownload.db.driver.check:
              [echo] Checking if db driver jar has been downloaded ...

          ownload.mysql.driver:

          nstall.db.files:
             [mkdir] Created dir: D:\JBPM\jbpm-installer\jboss-as-7.0.2.Final\modules\com\mysql\main
              [copy] Copying 1 file to D:\JBPM\jbpm-installer\jboss-as-7.0.2.Final\modules\com\mysql\main
              [copy] Copying 1 file to D:\JBPM\jbpm-installer\jboss-as-7.0.2.Final\modules\com\mysql\main

          tart.jboss:

          heck.jboss.version:

          tart.jboss5:

          heck.jboss.version:

          tart.jboss7:

          tart.human.task:
             [javac] D:\JBPM\jbpm-installer\build.xml:844: warning: 'includeantruntime' was not set, defaulting to build.sysclass
          ath=last; set to false for repeatable builds
              [java] 0    26/07 17:48:42,883[main] ERROR hibernate.util.JDBCExceptionReporter.logExceptions  - Table 'task.organi
          ationalentity' doesn't exist
              [java] 0    26/07 17:48:42,883[main] ERROR event.def.AbstractFlushingEventListener.performExecutions  - Could not s
          nchronize database state with session
              [java] org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
              [java]     at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
              [java]     at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
              [java]     at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
              [java]     at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
              [java]     at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
              [java]     at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener
          java:321)
              [java]     at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
              [java]     at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
              [java]     at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)
              [java]     at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
              [java]     at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java
          55)
              [java]     at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:8
          )
              [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:982)
              [java]     at org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:957)
              [java]     at org.jbpm.task.service.TaskServiceSession.addGroup(TaskServiceSession.java:119)
              [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
              [java] Caused by: java.sql.BatchUpdateException: Table 'task.organizationalentity' doesn't exist
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2054)
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
              [java]     at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              [java]     at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              [java]     ... 14 more
              [java] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'task.organizationalentity' does
          't exist
              [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
              [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
              [java]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
              [java]     at com.mysql.jdbc.Util.getInstance(Util.java:386)
              [java]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
              [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
              [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
              [java]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
              [java]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
              [java]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
              [java]     at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
              [java]     at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2450)
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2006)
              [java]     ... 17 more
              [java] 30   26/07 17:48:42,913[main] WARN  service.persistence.TaskLocalTransactionManager.commit  - Unable to begi
          transaction
              [java] javax.persistence.RollbackException: Error while commiting the transaction
              [java]     at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java
          55)
              [java]     at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:8
          )
              [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:982)
              [java]     at org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:957)
              [java]     at org.jbpm.task.service.TaskServiceSession.addGroup(TaskServiceSession.java:119)
              [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
              [java] Caused by: org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
              [java]     at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
              [java]     at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
              [java]     at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
              [java]     at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
              [java]     at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
              [java]     at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener
          java:321)
              [java]     at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
              [java]     at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
              [java]     at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)
              [java]     at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
              [java]     at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
              [java]     ... 6 more
              [java] Caused by: java.sql.BatchUpdateException: Table 'task.organizationalentity' doesn't exist
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2054)
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
              [java]     at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              [java]     at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              [java]     ... 14 more
              [java] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'task.organizationalentity' does
          't exist
              [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
              [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
              [java]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
              [java]     at com.mysql.jdbc.Util.getInstance(Util.java:386)
              [java]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
              [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
              [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
              [java]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
              [java]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
              [java]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
              [java]     at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
              [java]     at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2450)
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2006)
              [java]     ... 17 more
              [java] 110  26/07 17:48:42,993[main] ERROR service.persistence.TaskPersistenceManager.endTransaction  - Unable to c
          mmit, rolling back transaction.
              [java] java.lang.RuntimeException: Unable to commit transaction
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java
          59)
              [java]     at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:8
          )
              [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:982)
              [java]     at org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:957)
              [java]     at org.jbpm.task.service.TaskServiceSession.addGroup(TaskServiceSession.java:119)
              [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
              [java] Caused by: javax.persistence.RollbackException: Error while commiting the transaction
              [java]     at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java
          55)
              [java]     ... 5 more
              [java] Caused by: org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
              [java]     at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
              [java]     at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
              [java]     at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
              [java]     at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
              [java]     at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
              [java]     at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener
          java:321)
              [java]     at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
              [java]     at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
              [java]     at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)
              [java]     at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
              [java]     at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
              [java]     ... 6 more
              [java] Caused by: java.sql.BatchUpdateException: Table 'task.organizationalentity' doesn't exist
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2054)
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
              [java]     at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              [java]     at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              [java]     ... 14 more
              [java] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'task.organizationalentity' does
          't exist
              [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
              [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
              [java]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
              [java]     at com.mysql.jdbc.Util.getInstance(Util.java:386)
              [java]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
              [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
              [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
              [java]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
              [java]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
              [java]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
              [java]     at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
              [java]     at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2450)
              [java]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2006)
              [java]     ... 17 more
              [java] 210  26/07 17:48:43,093[main] WARN  service.persistence.TaskLocalTransactionManager.rollback  - Unable to ro
          lback transaction
              [java] java.lang.IllegalStateException: Transaction not active
              [java]     at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.ja
          a:70)
              [java]     at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:8
          )
              [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:982)
              [java]     at org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:957)
              [java]     at org.jbpm.task.service.TaskServiceSession.addGroup(TaskServiceSession.java:119)
              [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
              [java] 300  26/07 17:48:43,183[main] WARN  service.persistence.TaskLocalTransactionManager.rollback  - Unable to ro
          lback transaction
              [java] java.lang.IllegalStateException: Transaction not active
              [java]     at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.ja
          a:70)
              [java]     at org.jbpm.task.service.persistence.TaskPersistenceManager.rollBackTransaction(TaskPersistenceManager.j
          va:97)
              [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:984)
              [java]     at org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:957)
              [java]     at org.jbpm.task.service.TaskServiceSession.addGroup(TaskServiceSession.java:119)
              [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
              [java] 320  26/07 17:48:43,203[main] ERROR service.persistence.TaskPersistenceManager.rollBackTransaction  - Unable
          to rollback transaction (or to mark as 'to rollback')!
              [java] java.lang.RuntimeException: Unable to rollback transaction
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.ja
          a:77)
              [java]     at org.jbpm.task.service.persistence.TaskPersistenceManager.rollBackTransaction(TaskPersistenceManager.j
          va:97)
              [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:984)
              [java]     at org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:957)
              [java]     at org.jbpm.task.service.TaskServiceSession.addGroup(TaskServiceSession.java:119)
              [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
              [java] Caused by: java.lang.IllegalStateException: Transaction not active
              [java]     at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.ja
          a:70)
              [java]     ... 5 more
              [java] Exception in thread "main" java.lang.RuntimeException: Could not commit transaction
              [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:994)
              [java]     at org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:957)
              [java]     at org.jbpm.task.service.TaskServiceSession.addGroup(TaskServiceSession.java:119)
              [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
              [java] Caused by: java.lang.RuntimeException: Unable to rollback transaction
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.ja
          a:77)
              [java]     at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:8
          )
              [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:982)
              [java]     ... 3 more
              [java] Caused by: java.lang.IllegalStateException: Transaction not active
              [java]     at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
              [java]     at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.ja
          a:70)
              [java]     ... 5 more
              [java] Java Result: 1

          tart.demo.db:

          UILD SUCCESSFUL

          • 2. Re: JBPM5.3-installer, jbpm-console persistence error
            Prabakar Singaram Newbie

            I delete all, and reinstall, all working fine now....