1 2 Previous Next 18 Replies Latest reply on Dec 30, 2012 6:59 AM by Laura delli Paoli

    No Persistence provider for EntityManager named org.jbpm.task

    Laura delli Paoli Master

      Hello!

       

      I'm trying to make my process data persistent and when I run

       

      EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.task", properties);

      I get this error:

      No Persistence provider for EntityManager named org.jbpm.task

      I'm starting my process in this way

       

      EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.task", properties);

      KnowledgeSessionConfiguration config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(properties);

      Environment env = KnowledgeBaseFactory.newEnvironment();

      env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);

      env.set(EnvironmentName.GLOBALS, new MapGlobalResolver());

      StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env);

      ksession.startProcess("my_process", params);

       

      See my persistence.xml attached.

       

      Can anyone help me??

        • 1. Re: No Persistence provider for EntityManager named org.jbpm.task
          Maciej Swiderski Master

          this mean that you don't have hibernate on the class path, please make sure all required hibernate jars (and its dependencies) are on class path and that should resolve this problem.

           

          HTH

          • 2. Re: No Persistence provider for EntityManager named org.jbpm.task
            Laura delli Paoli Master

            Hi Marciej, thanks for your answer.

            My project classpath contains all jars included in jBPM runtime, including the Hibernate ones. Should I add other libraries?

             

            activation-1.1.jar

            antlr-2.7.7.jar

            antlr-3.3.jar

            antlr-runtime-3.3.jar

            antlr-runtime.jar

            aopalliance-1.0.jar

            asm-3.3.jar

            btm-2.1.2.jar

            commons-collections-3.2.1.jar

            commons-compress-1.0.jar

            commons-exec-1.0.1.jar

            commons-io-1.4.jar

            commons-logging-1.1.1.jar

            commons-net-2.0.jar

            commons-vfs2-2.0.jar

            cxf-api-2.4.4.jar

            cxf-common-utilities-2.4.4.jar

            cxf-rt-bindings-soap-2.4.4.jar

            cxf-rt-bindings-xml-2.4.4.jar

            cxf-rt-core-2.4.4.jar

            cxf-rt-databinding-jaxb-2.4.4.jar

            cxf-rt-frontend-jaxws-2.4.4.jar

            cxf-rt-frontend-simple-2.4.4.jar

            cxf-rt-transports-common-2.4.4.jar

            cxf-rt-transports-http-2.4.4.jar

            cxf-rt-ws-addr-2.4.4.jar

            cxf-tools-common-2.4.4.jar

            dom4j-1.6.1.jar

            drools-compiler-5.5.0.Final.jar

            drools-compiler.jar

            drools-core-5.5.0.Final.jar

            drools-core.jar

            drools-persistence-jpa-5.5.0.Final.jar

            ecj-3.5.1.jar

            ejb3-persistence-1.0.2.GA.jar

            geronimo-javamail_1.4_spec-1.7.1.jar

            h2-1.3.161.jar

            hibernate-annotations-3.4.0.GA.jar

            hibernate-commons-annotations-3.1.0.GA.jar

            hibernate-core-3.3.2.GA.jar

            hibernate-entitymanager-3.4.0.GA.jar

            hibernate-jpa-2.0-api-1.0.1.Final.jar

            hornetq-core-2.2.10.Final.jar

            javassist-3.14.0-GA.jar

            jaxb-impl-2.2.5.jar

            jaxb-xjc-2.2.5.jar

            jbpm-bam-5.4.0.Final.jar

            jbpm-bam.jar

            jbpm-bpmn2-5.4.0.Final.jar

            jbpm-bpmn2.jar

            jbpm-flow-5.4.0.Final.jar

            jbpm-flow-builder-5.4.0.Final.jar

            jbpm-flow-builder.jar

            jbpm-flow.jar

            jbpm-human-task-core-5.4.0.Final.jar

            jbpm-human-task-hornetq-5.4.0.Final.jar

            jbpm-human-task-jms-5.4.0.Final.jar

            jbpm-human-task-mina-5.4.0.Final.jar

            jbpm-persistence-jpa-5.4.0.Final.jar

            jbpm-test-5.4.0.Final.jar

            jbpm-workitems-5.4.0.Final.jar

            jdom-1.0.jar

            jsr173_1.0_api.jar

            jta-1.1.jar

            junit.jar

            knowledge-api-5.5.0.Final.jar

            knowledge-api.jar

            knowledge-internal-api-5.5.0.Final.jar

            knowledge-internal-api.jar

            librerie.txt

            log4j-1.2.16.jar

            mail-1.4.jar

            mina-core-2.0.1.jar

            mvel2-2.1.3.Final.jar

            mvel2.jar

            mysql-connector-java-5.0.8-bin.jar

            neethi-3.0.2.jar

            netty-3.2.0.Final.jar

            org.eclipse.jdt.core_3.8.2.v20120814-155456.jar

            protobuf-java-2.4.1.jar

            resolver.jar

            rome-1.0.jar

            slf4j-api-1.6.4.jar

            slf4j-api.jar

            slf4j-log4j12-1.6.4.jar

            smack-3.0.4.jar

            spring-aop-3.0.6.RELEASE.jar

            spring-asm-3.0.6.RELEASE.jar

            spring-beans-3.0.6.RELEASE.jar

            spring-context-3.0.6.RELEASE.jar

            spring-core-3.0.6.RELEASE.jar

            spring-expression-3.0.6.RELEASE.jar

            spring-web-3.0.6.RELEASE.jar

            stax2-api-3.1.1.jar

            stringtemplate-3.2.1.jar

            woodstox-core-asl-4.1.1.jar

            workflow-params.jar

            wsdl4j-1.6.2.jar

            xbean.jar

            xbean_xpath.jar

            xml-apis-1.3.04.jar

            xml-resolver-1.2.jar

            xmlbeans-qname.jar

            xmlpublic.jar

            xmlpull-1.1.3.1.jar

            xmlschema-core-2.0.2.jar

            xpp3_min-1.1.4c.jar

            xpp3_min.jar

            xstream-1.4.1.jar

            xstream.jar

            • 3. Re: No Persistence provider for EntityManager named org.jbpm.task
              Maciej Swiderski Master

              could you describe how do you deploy this application? DO you have both task service and jbpm runtime in the same application? Does the jbpm runtime engine gets deployed properly as I see that you have two persistence units defined. And as usual attaching server log is always useful.

               

              HTH

              • 4. Re: No Persistence provider for EntityManager named org.jbpm.task
                Laura delli Paoli Master

                Hi,

                My application (RAS-jBPMWorkflowLauncher) is a web service that starts jbpm processes.

                I created it as an Eclipse Dynamic web project and I deployed it as a war inside Eclipse (even if it should make no difference).

                 

                I will provide a log in 10 minutes..

                • 6. Re: No Persistence provider for EntityManager named org.jbpm.task
                  Maciej Swiderski Master

                  Laura, I think this error is caused by mixture of two JPA versions. JBoss AS 7.1.1 uses JPA2 by default, same does jbpm 5.4 installed with jbpm installer. I noticed you still have them deployed there and they are loaded successfully. But in your project you have hibernate 3 which is JPA 1 and the same applies to persistence.xml that you use, it's for version 1.

                   

                  So I see two options:

                  1. upgrade your project to use JPA2 and then you don't need to add hibernate jars into your application - this is recommended

                  2. disable jpa subsystem in the JBoss AS 71.1. so JPA 2 will not get into the way, then you need to remove jbpm applications from the server otherwise many errors will be thrown.

                   

                  HTH

                  • 7. Re: No Persistence provider for EntityManager named org.jbpm.task
                    Laura delli Paoli Master

                    Thanks for your answer.

                    I'm my standalone.xml jpa subsystem is disabled.

                     

                    Yesterday I tried to use JPA2 by replacing JBPMorm.xml mapping with JBPMorm.xml-JPA2 (http://mriet.wordpress.com/2012/04/03/jpa-2-with-drools-and-jbpm/), but I got many errors related to entity mapping version:

                     

                    Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.1: Value '2.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '1.0'. (see log attached)


                    so I rolled back to the prevoius configuration.

                     

                    Can you explain me how to change jpa version (consider I'm new to Jbpm)?

                    • 8. Re: No Persistence provider for EntityManager named org.jbpm.task
                      Laura delli Paoli Master

                      I enabled jpa subsystem from my applications (and from jbpm wars) then I got the error shown in this trace:

                       

                      11:58:45,111 INFO  [org.jboss.as.connector] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

                      11:58:45,341 INFO  [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting Naming Service

                      11:58:46,186 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.0)

                      11:58:46,421 WARN  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

                      11:58:46,697 INFO  [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.0.Final

                      11:58:47,073 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=C:\ApplicationServer\jboss-as-7.1.1.Final\standalone\data\messagingjournal,bindingsDirectory=C:\ApplicationServer\jboss-as-7.1.1.Final\standalone\data\messagingbindings,largeMessagesDirectory=C:\ApplicationServer\jboss-as-7.1.1.Final\standalone\data\messaginglargemessages,pagingDirectory=C:\ApplicationServer\jboss-as-7.1.1.Final\standalone\data\messagingpaging)

                      11:58:47,083 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) Waiting to obtain live lock

                      11:58:47,293 INFO  [org.hornetq.core.persistence.impl.journal.JournalStorageManager] (MSC service thread 1-1) Using NIO Journal

                      11:58:47,523 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-1) Waiting to obtain live lock

                      11:58:47,524 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-1) Live Server Obtained live lock

                      11:58:48,073 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080

                      11:58:48,226 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/jdbc/jbpm-ds]

                      11:58:48,435 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) JBAS015012: Started FileSystemDeploymentService for directory C:\ApplicationServer\jboss-as-7.1.1.Final\standalone\deployments

                      11:58:48,471 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on localhost/127.0.0.1:4447

                      11:58:48,472 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /127.0.0.1:9999

                      11:58:50,223 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-1) Started Netty Acceptor version 3.2.5.Final-a96d88c localhost:5445 for CORE protocol

                      11:58:50,231 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-1) Started Netty Acceptor version 3.2.5.Final-a96d88c localhost:5455 for CORE protocol

                      11:58:50,234 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) Server is now live

                      11:58:50,237 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [5e45cb1d-3d4b-11e2-9d07-1c7508415871]) started

                      11:58:50,246 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-7) trying to deploy queue jms.queue.testQ

                      11:58:50,264 INFO  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:/queue/TestQ

                      11:58:50,266 INFO  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/TestQ

                      11:58:50,268 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.queue.testQueue

                      11:58:50,271 INFO  [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/queue/test

                      11:58:50,273 INFO  [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test

                      11:58:50,276 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.topic.testTopic

                      11:58:50,322 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/topic/test

                      11:58:50,332 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-3) JBAS010406: Registered connection factory java:/JmsXA

                      11:58:50,337 INFO  [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory

                      11:58:50,339 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

                      11:58:50,342 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory

                      11:58:50,352 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-3) HornetQ resource adaptor started

                      11:58:50,355 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-3) IJ020002: Deployed: file://RaActivatorhornetq-ra

                      11:58:50,360 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-7) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]

                      11:58:50,437 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "jbpm-form-builder.war"

                      11:58:50,438 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "jbpm-gwt-console-server.war"

                      11:58:50,437 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "jbpm-human-task-war.war"

                      11:58:50,437 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "drools-guvnor.war"

                      11:58:50,439 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "jbpm-gwt-console.war"

                      11:58:50,438 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "designer.war"

                      11:59:23,292 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:23,296 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:23,300 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jsr173_1.0_api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:23,303 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb1-impl.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:23,307 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:23,312 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-impl.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:23,315 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jsr173_1.0_api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:23,319 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:23,325 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/bin/content/jbpm-human-task-war.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.

                      11:59:27,002 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'org.springframework.context.ApplicationContext,org.springframework.beans.BeansException' for service type 'org.apache.cxf.bus.factory'

                      11:59:27,009 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                      11:59:27,013 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                      11:59:27,536 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for org.jbpm.task

                      11:59:28,895 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) JBAS018567: Deployment "deployment.jbpm-human-task-war.war" is using a private module ("org.jboss.netty:main") which may be changed or removed in future versions without notice.

                      11:59:36,246 INFO  [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011402: Starting Persistence Unit Service 'jbpm-human-task-war.war#org.jbpm.task'

                      11:59:43,583 INFO  [org.hibernate.annotations.common.Version] (MSC service thread 1-5) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}

                      11:59:43,777 INFO  [org.hibernate.Version] (MSC service thread 1-5) HHH000412: Hibernate Core {4.0.1.Final}

                      11:59:43,907 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH000206: hibernate.properties not found

                      11:59:44,331 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH000021: Bytecode provider name : javassist

                      11:59:45,572 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-5) HHH000204: Processing PersistenceUnitInfo [

                                name: org.jbpm.task

                                ...]

                      11:59:47,173 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.persistenceunit."jbpm-human-task-war.war#org.jbpm.task": org.jboss.msc.service.StartException in service jboss.persistenceunit."jbpm-human-task-war.war#org.jbpm.task": Failed to start service

                                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                      Caused by: org.hibernate.InvalidMappingException: Unable to read XML

                                at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:106)

                                at org.hibernate.ejb.Ejb3Configuration.addXMLEntities(Ejb3Configuration.java:734)

                                at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:603)

                                at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)

                                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                ... 3 more

                      Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

                                at org.dom4j.io.SAXReader.read(SAXReader.java:484)

                                at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:76)

                                ... 10 more

                       

                       

                      11:59:58,309 INFO  [org.jboss.errai.bus.server.service.bootstrap.OrderedBootstrap] (MSC service thread 1-5) Bootstrap Errai

                      11:59:58,322 INFO  [org.jboss.errai.bus.server.service.bootstrap.DefaultComponents] (MSC service thread 1-5) using dispatcher implementation: org.jboss.errai.bus.server.AsyncDispatcher

                      11:59:58,691 INFO  [org.jboss.errai.bus.server.WorkerFactory] (MSC service thread 1-5) initializing async worker pools (poolSize: 5; workerTimeout: 5000)

                      11:59:58,696 INFO  [org.jboss.errai.bus.server.WorkerFactory] (MSC service thread 1-5) starting worker pool.

                      11:59:58,702 INFO  [org.jboss.errai.bus.server.service.bootstrap.DefaultComponents] (MSC service thread 1-5) using session provider implementation: org.jboss.errai.bus.server.HttpSessionProvider

                      11:59:58,717 INFO  [org.jboss.errai.bus.server.service.bootstrap.LoadExtensions] (MSC service thread 1-5) beging searching for Errai extensions ...

                      11:59:58,723 INFO  [org.jboss.errai.bus.server.service.bootstrap.LoadExtensions] (MSC service thread 1-5) added extension binding: org.jboss.errai.bus.client.framework.ModelAdapter

                      11:59:58,726 INFO  [org.jboss.errai.bus.server.service.bootstrap.LoadExtensions] (MSC service thread 1-5) total extension binding: 1

                      11:59:59,159 INFO  [org.jboss.errai.bus.server.service.bootstrap.BootstrapContext] (MSC service thread 1-5) Running deferred bootstrap tasks ...

                      11:59:59,160 INFO  [org.jboss.errai.bus.server.service.bootstrap.OrderedBootstrap] (MSC service thread 1-5) Bootstrap complete. Ready to rumble!

                      11:59:59,537 INFO  [org.jboss.web] (MSC service thread 1-5) JBAS018210: Registering web context: /jbpm-console

                      • 9. Re: No Persistence provider for EntityManager named org.jbpm.task
                        Maciej Swiderski Master

                        the last error is caused by duplicated dom4j library. remove dom4j from your application and that error should go away.

                         

                        HTH

                        • 10. Re: No Persistence provider for EntityManager named org.jbpm.task
                          Laura delli Paoli Master

                          Thanks, this worked!

                          Now I get another error on deployngnjbpm-qwt-console-server war.

                           

                          I know that I should not use ProcessInstanceInfo.hbm.xml, and I edited my JBPMorm-JPA2.xml (see attachement)

                           

                          13:59:29,610 ERROR [org.hibernate.internal.SessionFactoryImpl] (MSC service thread 1-8) HHH000177: Error in named query: ProcessInstancesWaitingForEvent: org.hibernate.hql.internal.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo join processInstanceInfo.eventTypes eventTypes where eventTypes = :type]

                                    at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:326) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3252) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3141) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:694) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:550) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:287) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:235) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:248) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:183) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:101) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:80) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:119) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:974) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:485) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                    at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                    at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                    at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                           

                           

                          13:59:29,639 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.persistenceunit."jbpm-human-task-war.war#org.jbpm.task": org.jboss.msc.service.StartException in service jboss.persistenceunit."jbpm-human-task-war.war#org.jbpm.task": Failed to start service

                                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                    at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

                                    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)

                                    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)

                                    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)

                                    at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)

                                    at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)

                                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                    ... 3 more

                          Caused by: org.hibernate.HibernateException: Errors in named queries: ProcessInstancesWaitingForEvent

                                    at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:494)

                                    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)

                                    at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)

                                    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)

                                    ... 9 more

                           

                           

                          13:59:29,859 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "jbpm-human-task-war.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"jbpm-human-task-war.war#org.jbpm.task\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"jbpm-human-task-war.war#org.jbpm.task\": Failed to start service"}}

                          13:59:29,996 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment jbpm-human-task-war.war in 136ms

                          13:59:29,999 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

                          JBAS014777:   Services which failed to start:      service jboss.persistenceunit."jbpm-human-task-war.war#org.jbpm.task": org.jboss.msc.service.StartException in service jboss.persistenceunit."jbpm-human-task-war.war#org.jbpm.task": Failed to start service

                          • 11. Re: No Persistence provider for EntityManager named org.jbpm.task
                            Laura delli Paoli Master

                            Hi, I succeeded in starting the server again, but when I deploy my application I get this error:

                            15:39:39,863 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found RAS-jBPMWorkflowLauncher.war in deployment directory. To trigger deployment create a file called RAS-jBPMWorkflowLauncher.war.dodeploy

                            15:39:54,926 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "RAS-jBPMWorkflowLauncher.war"

                            15:40:04,923 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                            15:40:04,926 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                            15:40:04,929 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb1-impl.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                            15:40:04,933 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                            15:40:04,936 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-impl.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                            15:40:04,939 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                            15:40:04,945 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.

                            15:40:05,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'org.springframework.context.ApplicationContext,org.springframework.beans.BeansException' for service type 'org.apache.cxf.bus.factory'

                            15:40:05,044 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                            15:40:05,048 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                            15:40:05,050 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                            15:40:05,055 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa

                            15:40:05,178 WARN  [org.jboss.as.ee] (MSC service thread 1-2) JBAS011006: Not installing optional component org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation

                                      at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)

                                      at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)

                                      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                      at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                             

                             

                            15:40:05,342 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-2) JBWS024061: Adding service endpoint metadata: id=StartWkfWS

                            address=http://localhost:8080/RAS-jBPMWorkflowLauncher

                            implementor=eu.discoveryreply.serviceLayer.webServer.StartWkfWS

                            invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker

                            serviceName={http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWS

                            portName={http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWSPort

                            wsdlLocation=null

                            mtomEnabled=false

                            15:40:05,375 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Creating Service {http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWS from class eu.discoveryreply.serviceLayer.webServer.StartWkfInterface

                            15:40:05,388 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."RAS-jBPMWorkflowLauncher.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."RAS-jBPMWorkflowLauncher.war".INSTALL: Failed to process phase INSTALL of deployment "RAS-jBPMWorkflowLauncher.war"

                                      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                      at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                            Caused by: javax.xml.ws.WebServiceException: java.lang.reflect.UndeclaredThrowableException

                                      at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:357)

                                      at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:67)

                                      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:246)

                                      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:525)

                                      at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:117)

                                      at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:129)

                                      at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:68)

                                      at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)

                                      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                                      ... 5 more

                            Caused by: java.lang.reflect.UndeclaredThrowableException

                                      at $Proxy208.visitLabel(Unknown Source)          at org.apache.cxf.jaxws.WrapperClassGenerator.createWrapperClass(WrapperClassGenerator.java:223)

                                      at org.apache.cxf.jaxws.WrapperClassGenerator.generate(WrapperClassGenerator.java:137)

                                      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:669)

                                      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)

                                      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)

                                      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)

                                      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)

                                      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)

                                      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)

                                      at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)

                                      at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)

                                      at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)

                                      at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:442)

                                      at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:329)

                                      ... 13 more

                            Caused by: java.lang.NoSuchMethodException: org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)

                                      at java.lang.Class.getMethod(Unknown Source) [rt.jar:1.6.0_32]

                                      at org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:51)

                                      ... 28 more

                             

                             

                            15:40:05,464 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "RAS-jBPMWorkflowLauncher.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"RAS-jBPMWorkflowLauncher.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"RAS-jBPMWorkflowLauncher.war\".INSTALL: Failed to process phase INSTALL of deployment \"RAS-jBPMWorkflowLauncher.war\""}}

                            15:40:05,687 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment RAS-jBPMWorkflowLauncher.war in 221ms

                            15:40:05,708 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

                            JBAS014777:   Services which failed to start:      service jboss.deployment.unit."RAS-jBPMWorkflowLauncher.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."RAS-jBPMWorkflowLauncher.war".INSTALL: Failed to process phase INSTALL of deployment "RAS-jBPMWorkflowLauncher.war"

                             

                             

                            15:40:05,715 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"RAS-jBPMWorkflowLauncher.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"RAS-jBPMWorkflowLauncher.war\".INSTALL: Failed to process phase INSTALL of deployment \"RAS-jBPMWorkflowLauncher.war\""}}}}

                            • 12. Re: No Persistence provider for EntityManager named org.jbpm.task
                              Laura delli Paoli Master

                              Hi, I succeeded in starting the server again, but when I deploy my application I get this error:

                               

                              17:48:44,318 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found RAS-jBPMWorkflowLauncher.war in deployment directory. To trigger deployment create a file called RAS-jBPMWorkflowLauncher.war.dodeploy

                              17:49:04,374 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "RAS-jBPMWorkflowLauncher.war"

                              17:49:14,322 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry jaxb-api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                              17:49:14,325 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                              17:49:14,328 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry jaxb1-impl.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                              17:49:14,331 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry jaxb-api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                              17:49:14,334 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry jaxb-impl.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                              17:49:14,337 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                              17:49:14,343 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.

                              17:49:14,428 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015893: Encountered invalid class name 'org.springframework.context.ApplicationContext,org.springframework.beans.BeansException' for service type 'org.apache.cxf.bus.factory'

                              17:49:14,432 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                              17:49:14,434 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                              17:49:14,436 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                              17:49:14,441 INFO  [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa

                              17:49:14,627 WARN  [org.jboss.as.ee] (MSC service thread 1-8) JBAS011006: Not installing optional component org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation

                                        at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)

                                        at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)

                                        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                               

                               

                              17:49:14,660 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

                              17:49:16,066 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=StartWkfWS

                              address=http://localhost:8080/RAS-jBPMWorkflowLauncher

                              implementor=eu.discoveryreply.serviceLayer.webServer.StartWkfWS

                              invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker

                              serviceName={http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWS

                              portName={http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWSPort

                              wsdlLocation=null

                              mtomEnabled=false

                              17:49:18,708 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-8) Creating Service {http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWS from class eu.discoveryreply.serviceLayer.webServer.StartWkfInterface

                              17:49:20,896 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-8) Setting the server's publish address to be http://localhost:8080/RAS-jBPMWorkflowLauncher

                              17:49:21,701 INFO  [org.jboss.ws.cxf.deployment] (MSC service thread 1-8) JBWS024074: WSDL published to: file:/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/data/wsdl/RAS-jBPMWorkflowLauncher.war/StartWkfWS.wsdl

                              17:49:21,784 INFO  [org.jboss.as.webservices] (MSC service thread 1-7) JBAS015539: Starting service jboss.ws.port-component-link

                              17:49:21,786 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011402: Starting Persistence Unit Service 'RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa'

                              17:49:21,789 INFO  [org.jboss.as.webservices] (MSC service thread 1-7) JBAS015539: Starting service jboss.ws.endpoint."RAS-jBPMWorkflowLauncher.war".StartWkfWS

                              17:49:21,790 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-8) HHH000204: Processing PersistenceUnitInfo [

                                        name: org.jbpm.persistence.jpa

                                        ...]

                              17:49:21,815 INFO  [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022050: Endpoint registered: jboss.ws:context=RAS-jBPMWorkflowLauncher,endpoint=StartWkfWS

                              17:49:21,906 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-8) HHH000196: Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.

                              17:49:22,049 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-8) HHH000196: Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.

                              17:49:22,083 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-8) HHH000360: Unable to resolve mapping file [META-INF/ProcessInstanceInfo.hbm.xml]

                              17:49:22,088 WARN  [org.hibernate.internal.util.xml.DTDEntityResolver] (MSC service thread 1-8) HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!

                              17:49:22,563 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-8) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

                              17:49:22,619 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-8) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

                              17:49:22,645 INFO  [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-8) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4

                              17:49:22,647 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-8) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

                              17:49:22,649 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-8) HHH000397: Using ASTQueryTranslatorFactory

                              17:49:22,926 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-8) HHH000228: Running hbm2ddl schema update

                              17:49:22,927 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-8) HHH000102: Fetching database metadata

                              17:49:23,903 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-8) HHH000319: Could not get database metadata: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown table 'sequences' in information_schema

                                        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) [mysql-connector-java-5.0.8-bin.jar:]

                                        at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:340)

                                        at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:149) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:70) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:63) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:196) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:457) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                               

                               

                              17:49:23,937 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-8) HHH000299: Could not complete schema update: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown table 'sequences' in information_schema

                                        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) [mysql-connector-java-5.0.8-bin.jar:]

                                        at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) [mysql-connector-java-5.0.8-bin.jar:]

                                        at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:340)

                                        at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:149) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:70) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:63) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:196) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:457) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                               

                               

                              17:49:24,292 ERROR [org.hibernate.internal.SessionFactoryImpl] (MSC service thread 1-8) HHH000177: Error in named query: ProcessInstancesWaitingForEvent: org.hibernate.hql.internal.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo join processInstanceInfo.eventTypes eventTypes where eventTypes = :type]

                                        at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:326) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3252) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3141) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:694) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:550) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:287) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:235) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:248) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:183) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:101) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:80) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:119) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:974) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:485) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                               

                               

                              17:49:24,320 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.persistenceunit."RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa": org.jboss.msc.service.StartException in service jboss.persistenceunit."RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa": Failed to start service

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                        at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                              Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)

                                        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)

                                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)

                                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                        ... 3 more

                              Caused by: org.hibernate.HibernateException: Errors in named queries: ProcessInstancesWaitingForEvent

                                        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:494)

                                        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)

                                        at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)

                                        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)

                                        ... 9 more

                               

                               

                              17:49:24,611 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "RAS-jBPMWorkflowLauncher.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa\": Failed to start service"}}

                              17:49:24,618 INFO  [org.jboss.as.webservices] (MSC service thread 1-8) JBAS015540: Stopping service jboss.ws.endpoint."RAS-jBPMWorkflowLauncher.war".StartWkfWS

                              17:49:24,621 INFO  [org.jboss.ws.common.management] (MSC service thread 1-8) JBWS022051: Endpoint unregistered: jboss.ws:context=RAS-jBPMWorkflowLauncher,endpoint=StartWkfWS

                              17:49:24,626 INFO  [org.jboss.as.webservices] (MSC service thread 1-8) JBAS015540: Stopping service jboss.ws.port-component-link

                              17:49:25,022 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment RAS-jBPMWorkflowLauncher.war in 411ms

                              17:49:25,027 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report

                              JBAS014777:   Services which failed to start:      service jboss.persistenceunit."RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa": org.jboss.msc.service.StartException in service jboss.persistenceunit."RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa": Failed to start service

                               

                               

                              17:49:25,030 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa\": Failed to start service"}}}}

                              • 13. Re: No Persistence provider for EntityManager named org.jbpm.task
                                Maciej Swiderski Master

                                you should have these mapping files defined for JPA2 in your persistence.xml file:

                                 

                                <mapping-file>META-INF/JBPMorm-JPA2.xml</mapping-file>

                                <mapping-file>META-INF/ProcessInstanceInfoMapping-JPA2.xml</mapping-file>

                                 

                                you can take a look at one included in jbpm-gwt-console-server.war as it uses JPA2 by default since jbpm 5.4.

                                 

                                HTH

                                • 14. Re: No Persistence provider for EntityManager named org.jbpm.task
                                  Laura delli Paoli Master

                                  I get the same error again (see persistence.xml attached):

                                   

                                  18:34:45,784 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "RAS-jBPMWorkflowLauncher.war"

                                  18:34:54,864 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                                  18:34:54,864 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                                  18:34:54,864 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb1-impl.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-impl-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                                  18:34:54,865 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-api.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                                  18:34:54,865 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-impl.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                                  18:34:54,865 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/jaxb-xjc-2.2.5.jar"  does not point to a valid jar for a Class-Path reference.

                                  18:34:54,865 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/deployments/RAS-jBPMWorkflowLauncher.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.

                                  18:34:54,927 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Encountered invalid class name 'org.springframework.context.ApplicationContext,org.springframework.beans.BeansException' for service type 'org.apache.cxf.bus.factory'

                                  18:34:54,927 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                                  18:34:54,927 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                                  18:34:54,927 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

                                  18:34:54,943 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa

                                  18:34:55,037 WARN  [org.jboss.as.ee] (MSC service thread 1-8) JBAS011006: Not installing optional component org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation

                                            at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)

                                            at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)

                                            at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                                   

                                   

                                  18:34:55,068 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

                                  18:34:55,395 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=StartWkfWS

                                  address=http://localhost:8080/RAS-jBPMWorkflowLauncher

                                  implementor=eu.discoveryreply.serviceLayer.webServer.StartWkfWS

                                  invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker

                                  serviceName={http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWS

                                  portName={http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWSPort

                                  wsdlLocation=null

                                  mtomEnabled=false

                                  18:34:56,924 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-8) Creating Service {http://webServer.serviceLayer.discoveryreply.eu/}StartWkfWS from class eu.discoveryreply.serviceLayer.webServer.StartWkfInterface

                                  18:34:57,690 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-8) Setting the server's publish address to be http://localhost:8080/RAS-jBPMWorkflowLauncher

                                  18:34:58,048 INFO  [org.jboss.ws.cxf.deployment] (MSC service thread 1-8) JBWS024074: WSDL published to: file:/C:/ApplicationServer/jboss-as-7.1.1.Final/standalone/data/wsdl/RAS-jBPMWorkflowLauncher.war/StartWkfWS.wsdl

                                  18:34:58,096 INFO  [org.jboss.as.webservices] (MSC service thread 1-6) JBAS015539: Starting service jboss.ws.port-component-link

                                  18:34:58,096 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011402: Starting Persistence Unit Service 'RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa'

                                  18:34:58,096 INFO  [org.jboss.as.webservices] (MSC service thread 1-7) JBAS015539: Starting service jboss.ws.endpoint."RAS-jBPMWorkflowLauncher.war".StartWkfWS

                                  18:34:58,112 INFO  [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022050: Endpoint registered: jboss.ws:context=RAS-jBPMWorkflowLauncher,endpoint=StartWkfWS

                                  18:34:58,112 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-4) HHH000204: Processing PersistenceUnitInfo [

                                            name: org.jbpm.persistence.jpa

                                            ...]

                                  18:34:58,970 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-4) HHH000196: Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.

                                  18:34:59,095 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-4) HHH000196: Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.

                                  18:34:59,144 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-4) HHH000360: Unable to resolve mapping file [META-INF/ProcessInstanceInfo.hbm.xml]

                                  18:34:59,144 WARN  [org.hibernate.internal.util.xml.DTDEntityResolver] (MSC service thread 1-4) HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!

                                  18:34:59,410 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-4) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

                                  18:34:59,410 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-4) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

                                  18:34:59,441 INFO  [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-4) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4

                                  18:34:59,441 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-4) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

                                  18:34:59,456 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-4) HHH000397: Using ASTQueryTranslatorFactory

                                  18:34:59,706 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-4) HHH000228: Running hbm2ddl schema update

                                  18:34:59,706 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-4) HHH000102: Fetching database metadata

                                  18:34:59,800 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-4) HHH000319: Could not get database metadata: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown table 'sequences' in information_schema

                                            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) [mysql-connector-java-5.0.8-bin.jar:]

                                            at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:340)

                                            at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:149) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:70) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:63) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:196) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:457) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                            at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                                   

                                   

                                  18:34:59,846 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-4) HHH000299: Could not complete schema update: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown table 'sequences' in information_schema

                                            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) [mysql-connector-java-5.0.8-bin.jar:]

                                            at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) [mysql-connector-java-5.0.8-bin.jar:]

                                            at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:340)

                                            at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:149) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:70) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:63) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:196) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:457) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                            at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                                   

                                   

                                  18:35:00,361 ERROR [org.hibernate.internal.SessionFactoryImpl] (MSC service thread 1-4) HHH000177: Error in named query: ProcessInstancesWaitingForEvent: org.hibernate.hql.internal.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo join processInstanceInfo.eventTypes eventTypes where eventTypes = :type]

                                            at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:326) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3252) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3141) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:694) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:550) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:287) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:235) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:248) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:183) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:101) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:80) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:119) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:974) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:485) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]

                                            at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                            at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                                   

                                   

                                  18:35:00,393 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.persistenceunit."RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa": org.jboss.msc.service.StartException in service jboss.persistenceunit."RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa": Failed to start service

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_32]

                                            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                                  Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)

                                            at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)

                                            at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)

                                            at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                            ... 3 more

                                  Caused by: org.hibernate.HibernateException: Errors in named queries: ProcessInstancesWaitingForEvent

                                            at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:494)

                                            at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)

                                            at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)

                                            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)

                                            ... 9 more

                                   

                                   

                                  18:35:00,627 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "RAS-jBPMWorkflowLauncher.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa\": Failed to start service"}}

                                  18:35:00,627 INFO  [org.jboss.as.webservices] (MSC service thread 1-3) JBAS015540: Stopping service jboss.ws.endpoint."RAS-jBPMWorkflowLauncher.war".StartWkfWS

                                  18:35:00,643 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022051: Endpoint unregistered: jboss.ws:context=RAS-jBPMWorkflowLauncher,endpoint=StartWkfWS

                                  18:35:00,643 INFO  [org.jboss.as.webservices] (MSC service thread 1-5) JBAS015540: Stopping service jboss.ws.port-component-link

                                  18:35:00,971 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment RAS-jBPMWorkflowLauncher.war in 342ms

                                  18:35:00,971 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

                                  JBAS014777:   Services which failed to start:      service jboss.persistenceunit."RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa": org.jboss.msc.service.StartException in service jboss.persistenceunit."RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa": Failed to start service

                                   

                                   

                                  18:35:00,971 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"RAS-jBPMWorkflowLauncher.war#org.jbpm.persistence.jpa\": Failed to start service"}}}}

                                  1 2 Previous Next