<!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;">
    Deploying jBPM5.4 using EAR on AS 7.1.1
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/badduck">Albert Chua</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/794770#794770">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm a newbie to jBPM and Drools. I have successfully done installed AS 7.1.1 with jBPM 5.4 and Drools 5.4 war files deployed.</p><p>Now I am trying to deploy a EAR file containing a stateful bean. The bean is suppose to grab the bpmn file from the Guvnor and run the workflow.</p><p>Unfortunately when I tried to deploy the EAR files containing all the dependencies, it hit the following error (attached is the full server.log):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">11:53:51,295 INFO&#160; [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "middleoffice-ear.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" =&gt; ["jboss.persistenceunit.\"middleoffice-ear.ear#org.jbpm.persistence.jpa\"jboss.naming.context.java.jdbc.jbpm-dsMissing[jboss.persistenceunit.\"middleoffice-ear.ear#org.jbpm.persistence.jpa\"jboss.naming.context.java.jdbc.jbpm-ds]"]}
11:53:51,295 INFO&#160; [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011403: Stopping Persistence Unit Service 'middleoffice-ear.ear/middleoffice-ejb.jar#org.jbpm.task'
11:53:51,295 INFO&#160; [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011403: Stopping Persistence Unit Service 'middleoffice-ear.ear/middleoffice-ejb.jar#org.jbpm.persistence.jpa'
11:53:51,311 INFO&#160; [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment middleoffice-ejb.jar in 42ms
11:53:51,405 INFO&#160; [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment middleoffice-ear.ear in 132ms
11:53:51,405 INFO&#160; [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report
JBAS014775:&#160;&#160;&#160; New missing/unsatisfied dependencies:
&#160;&#160;&#160;&#160;&#160; service jboss.naming.context.java.jdbc.jbpm-ds (missing) dependents: [service jboss.persistenceunit."middleoffice-ear.ear#org.jbpm.persistence.jpa"] 
11:53:51,405 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" =&gt; {"Operation step-2" =&gt; {"JBAS014771: Services with missing/unavailable dependencies" =&gt; ["jboss.persistenceunit.\"middleoffice-ear.ear#org.jbpm.persistence.jpa\"jboss.naming.context.java.jdbc.jbpm-dsMissing[jboss.persistenceunit.\"middleoffice-ear.ear#org.jbpm.persistence.jpa\"jboss.naming.context.java.jdbc.jbpm-ds]"]}}}

</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>What is wrong with my EAR deployment fuke?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks &amp; Kind Regards,</p><p>Albert</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/794770#794770">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>