<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Need help for developing web application using JBPM5.4
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/andynil.best">Anand BH</a> in <i>jBPM Development</i> - <a href="https://community.jboss.org/message/803245#803245">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><span>18:01:24,494 INFO&#160; [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on </span><a class="jive-link-external-small" href="http://127.0.0.1:9990" rel="nofollow" target="_blank">http://127.0.0.1:9990</a></p><p>18:01:24,534 INFO&#160; [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)</p><p>18:02:30,313 INFO&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "WebApplication2.war"</p><p>18:02:31,719 WARN&#160; [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"&#160; does not point to a valid jar for a Class-Path reference.</p><p>18:02:31,783 INFO&#160; [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa</p><p>18:02:31,786 INFO&#160; [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for org.jbpm.task</p><p>18:02:31,907 INFO&#160; [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)</p><p>18:02:31,934 INFO&#160; [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011402: Starting Persistence Unit Service 'WebApplication2.war#org.jbpm.task'</p><p>18:02:32,148 INFO&#160; [org.hibernate.annotations.common.Version] (MSC service thread 1-2) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}</p><p>18:02:32,155 INFO&#160; [org.hibernate.Version] (MSC service thread 1-2) HHH000412: Hibernate Core {4.0.1.Final}</p><p>18:02:32,158 INFO&#160; [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH000206: hibernate.properties not found</p><p>18:02:32,161 INFO&#160; [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH000021: Bytecode provider name : javassist</p><p>18:02:32,175 INFO&#160; [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2) HHH000204: Processing PersistenceUnitInfo [</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;name: org.jbpm.task</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;...]</p><p>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</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]</p><p>Caused by: org.hibernate.MappingException: Error while parsing file: orm.xml</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:1255)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1047)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:692)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 3 more</p><p>Caused by: org.hibernate.InvalidMappingException: Unable to read XML</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:106)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.cfg.Configuration.add(Configuration.java:474)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.cfg.Configuration.add(Configuration.java:470)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.cfg.Configuration.add(Configuration.java:643)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:681)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:1247)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 10 more</p><p>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</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.dom4j.io.SAXReader.read(SAXReader.java:484)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:76)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 15 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>18:02:32,487 INFO&#160; [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "WebApplication2.war" was rolled back with failure message {"JBAS014671: Failed services" =&gt; {"jboss.persistenceunit.\"WebApplication2.war#org.jbpm.task\"" =&gt; "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"WebApplication2.war#org.jbpm.task\": Failed to start service"},"JBAS014771: Services with missing/unavailable dependencies" =&gt; ["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]"]}</p><p>18:02:32,632 INFO&#160; [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment WebApplication2.war in 144ms</p><p>18:02:32,635 INFO&#160; [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report</p><p>JBAS014775:&#160;&#160;&#160; New missing/unsatisfied dependencies:</p><p>&#160;&#160;&#160;&#160;&#160; service jboss.naming.context.java.jboss.resources.jdbc.testDS1 (missing) dependents: [service jboss.naming.context.java.module.WebApplication2.WebApplication2.env.jdbc.testDS1] </p><p>JBAS014777:&#160;&#160; Services which failed to start:&#160;&#160;&#160;&#160;&#160; 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</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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:" =&gt; {"Operation step-2" =&gt; {"JBAS014671: Failed services" =&gt; {"jboss.persistenceunit.\"WebApplication2.war#org.jbpm.task\"" =&gt; "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"WebApplication2.war#org.jbpm.task\": Failed to start service"},"JBAS014771: Services with missing/unavailable dependencies" =&gt; ["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]"]}}}</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/803245#803245">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>