<!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;">
    Re: Drools - Guvnor on jboss 5.1
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/tsurdilovic">Tihomir Surdilovic</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/643116#643116">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>Hi Prashanth, Guvnor has separate war files for different AS versions it supports. Take a look at </span><a class="jive-link-external-small" href="https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/build.properties" target="_blank">https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/build.properties</a><span>, specifically: </span></p><p class="line" id="LC22"><span class="c"># for example for AS5: </span></p><p class="line" id="LC23"><span class="c">#&#160;&#160; drools.guvnor.version=5.3.1.Final</span></p><p class="line" id="LC24"><span class="c"><span>#&#160;&#160; drools.guvnor.url=</span><a class="jive-link-external-small" href="https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.3.1.Final/guvnor-distribution-wars-5.3.1.Final-jboss-eap-5.1.war" target="_blank">https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.3.1.Final/guvnor-distribution-wars-5.3.1.Final-jboss-eap-5.1.war</a></span></p><p class="line" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="line"><span class="c">Even tho in jBPM 5.2 we have moved the default AS to AS7, the installer sill supports deployment on AS5.1. You would have to go through the above mentioned build.properties and change all defaults to the commented AS5 properties. The only other thing you would have to do is in </span><a class="jive-link-external-small" href="https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/db/persistence.xml" target="_blank">https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/db/persistence.xml</a><span> change </span></p><p class="line" id="LC24"><span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"hibernate.transaction.manager_lookup_class"</span> <span class="na">value=</span><span class="s">"org.jbpm.integration.console.JBPMTransactionManager"</span> <span class="nt">/&gt;</span></p><p class="line" id="LC25"><span class="na">to</span></p><p class="line" id="LC26"><span class="c">&lt;property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" /&gt;</span></p><p class="line" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="line"><span class="c">and run </span></p><p class="line"><span class="c">ant clean.demo<br/></span></p><p class="line" id="LC27">ant install.demo (or ant install.demo.noeclipse)</p><p class="line">ant start.demo (or ant start.demo.noeclipse)</p><p class="line" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="line">Hope this helps.&#160;&#160;&#160; <span class="c"><br/></span></p><p class="line"><span class="na"><br/></span></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/643116#643116">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>