<!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="http://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 jBPM 5.1 on jBoss 6
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/chaitanya1987">Chaitanya Desai</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/617980#617980">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 was able to deploy jbpm 5.1 on jboss 5.1 with mysql database after modifying hibernate.cfg.xml, testDS1-ds.xml, persistence.xml and Human Task jars - persistence.xml.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I use the same setup of above files and after making some required changes to build, I am facing deployment errors for drools-guvnor.war. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>In build.xml Instead of using the target 'install.guvnor.into.jboss.5' to deploy guvnor into jboss 6 i use</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; &lt;target name="install.guvnor.into.jboss.other"&gt;</p><p>&#160;&#160;&#160; &lt;copy file="${install.home}/lib/guvnor-distribution-wars-${drools.guvnor.version}-jboss-as-5.1.war"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; tofile="${jboss.server.deploy.dir}/drools-guvnor.war"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; overwrite="true" /&gt;</p><p>&#160; &lt;/target&gt; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I have commented the execution of: </p><p>install.guvnor.into.jboss.5</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Initially had tried executing both the task for installing guvnor into jboss 6 but later resorted to the approach mentioned above .</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>In the jboss deployments viewed from localhost:8080 browser i can see gwt-server-console.war, client console.war to be up but not drools-guvnor.war.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I see the exception :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; Deployment "vfs:///C:/jboss-6.0.0.Final/server/default/deploy/drools-guvnor.war" is in error due to the following reason(s): </p><p>&#160; java.lan&#160; Deployment "jboss.web.deployment:war=/gwt-console-server" is in error due to the following reason(s): org.jboss.deployers.spi.Deploym</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [&#160; </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar: </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [jboss-bootstrap-impl-base.&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Has anyone faced similar issue? How did you resolve it?</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/617980#617980">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://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>