1 Reply Latest reply on Oct 17, 2012 9:43 AM by Maciej Swiderski

    jbpm 5.3 error

    Kehua Gao Newbie


      D:\oa\jbpm-5.3.0.Final-installer-full\jbpm-installer>ant start.demo.db
      Buildfile: build.xml

      check.jboss.version:

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

      download.mysql.driver:

      install.db.files:

      start.jboss:

      check.jboss.version:

      start.jboss5:

      check.jboss.version:

      start.jboss7:

      start.human.task:
           [java] 0    17/10 21:21:36,749[main] ERROR ejb.packaging.PersistenceXmlLoad
      er.fatalError  - Error parsing XML: XML InputStream(37) Element type "property"
      must be followed by either attribute specifications, ">" or "/>".
           [java] Exception in thread "main" javax.persistence.PersistenceException: U
      nable to configure EntityManagerFactory
           [java]     at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configurati
      on.java:265)
           [java]     at org.hibernate.ejb.HibernatePersistence.createEntityManagerFac
      tory(HibernatePersistence.java:125)
           [java]     at javax.persistence.Persistence.createEntityManagerFactory(Pers
      istence.java:52)
           [java]     at javax.persistence.Persistence.createEntityManagerFactory(Pers
      istence.java:34)
           [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
           [java] Caused by: org.xml.sax.SAXParseException: Element type "property" mu
      st be followed by either attribute specifications, ">" or "/>".
           [java]     at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DO
      MParser.java:239)
           [java]     at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.p
      arse(DocumentBuilderImpl.java:283)
           [java]     at org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(Pers
      istenceXmlLoader.java:70)
           [java]     at org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(Persi
      stenceXmlLoader.java:89)
           [java]     at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configurati
      on.java:222)
           [java]     ... 4 more
           [java] Java Result: 1

      start.demo.db:

      BUILD SUCCESSFUL
      Total time: 2 seconds
      D:\oa\jbpm-5.3.0.Final-installer-full\jbpm-installer>

        • 1. Re: jbpm 5.3 error
          Maciej Swiderski Master

          since jbpm 5.3 human task server is deployed on application server it does not have to be started with ant any more - it is left over that is already removed from next version. So I think you can ignore it as the whole jbpm demo setup should work properly.

           

          HTH

          1 of 1 people found this helpful