[jboss-dev-forums] [jBPM Development] - Re: Need help for developing web application using JBPM5.4
Anand BH
do-not-reply at jboss.com
Mon Mar 18 08:36:22 EDT 2013
Anand BH [https://community.jboss.org/people/andynil.best] created the discussion
"Re: Need help for developing web application using JBPM5.4"
To view the discussion, visit: https://community.jboss.org/message/803245#803245
--------------------------------------------------------------
18:01:24,494 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990 http://127.0.0.1:9990
18:01:24,534 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 5798ms - Started 145 of 222 services (74 services are passive or on-demand)
18:02:30,313 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "WebApplication2.war"
18:02:31,719 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry activation.jar in "/C:/jbpm-installer/content/WebApplication2.war/WEB-INF/lib/mail-1.4.jar" does not point to a valid jar for a Class-Path reference.
18:02:31,783 INFO [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa
18:02:31,786 INFO [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for org.jbpm.task
18:02:31,907 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
18:02:31,934 INFO [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011402: Starting Persistence Unit Service 'WebApplication2.war#org.jbpm.task'
18:02:32,148 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-2) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
18:02:32,155 INFO [org.hibernate.Version] (MSC service thread 1-2) HHH000412: Hibernate Core {4.0.1.Final}
18:02:32,158 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH000206: hibernate.properties not found
18:02:32,161 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH000021: Bytecode provider name : javassist
18:02:32,175 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2) HHH000204: Processing PersistenceUnitInfo [
name: org.jbpm.task
...]
18:02:32,233 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.persistenceunit."WebApplication2.war#org.jbpm.task": org.jboss.msc.service.StartException in service jboss.persistenceunit."WebApplication2.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(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
Caused by: org.hibernate.MappingException: Error while parsing file: orm.xml
at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:1255)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1047)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:692)
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.hibernate.InvalidMappingException: Unable to read XML
at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:106)
at org.hibernate.cfg.Configuration.add(Configuration.java:474)
at org.hibernate.cfg.Configuration.add(Configuration.java:470)
at org.hibernate.cfg.Configuration.add(Configuration.java:643)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:681)
at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:1247)
... 10 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)
... 15 more
18:02:32,487 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "WebApplication2.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"WebApplication2.war#org.jbpm.task\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"WebApplication2.war#org.jbpm.task\": Failed to start service"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.WebApplication2.WebApplication2.env.jdbc.testDS1jboss.naming.context.java.jboss.resources.jdbc.testDS1Missing[jboss.naming.context.java.module.WebApplication2.WebApplication2.env.jdbc.testDS1jboss.naming.context.java.jboss.resources.jdbc.testDS1]"]}
18:02:32,632 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment WebApplication2.war in 144ms
18:02:32,635 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.naming.context.java.jboss.resources.jdbc.testDS1 (missing) dependents: [service jboss.naming.context.java.module.WebApplication2.WebApplication2.env.jdbc.testDS1]
JBAS014777: Services which failed to start: service jboss.persistenceunit."WebApplication2.war#org.jbpm.task": org.jboss.msc.service.StartException in service jboss.persistenceunit."WebApplication2.war#org.jbpm.task": Failed to start service
18:02:32,649 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.\"WebApplication2.war#org.jbpm.task\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"WebApplication2.war#org.jbpm.task\": Failed to start service"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.WebApplication2.WebApplication2.env.jdbc.testDS1jboss.naming.context.java.jboss.resources.jdbc.testDS1Missing[jboss.naming.context.java.module.WebApplication2.WebApplication2.env.jdbc.testDS1jboss.naming.context.java.jboss.resources.jdbc.testDS1]"]}}}
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803245#803245]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130318/8b7d4175/attachment.html
More information about the jboss-dev-forums
mailing list