[jboss-user] [jBPM] - jbpm 5.3 error

Kehua Gao do-not-reply at jboss.com
Wed Oct 17 09:25:09 EDT 2012


Kehua Gao [https://community.jboss.org/people/kehuagao] created the discussion

"jbpm 5.3 error"

To view the discussion, visit: https://community.jboss.org/message/766301#766301

--------------------------------------------------------------
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>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/766301#766301]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121017/7d70b170/attachment.html 


More information about the jboss-user mailing list