<!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;">
    Network configuration jBPM5.4 (with Bug Fixes)
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="https://community.jboss.org/people/neo_2_3">Cristian Ulloa</a> in <i>jBPM</i> - <a href="https://community.jboss.org/docs/DOC-48369">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>To enable network access to jBPM 5.4, you must perform the following steps:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li>Validate properly installed Java JDK+1.5 and Ant+1.7</li><li>Download <strong>jbpm-5.4.0.Final-installer-full.zip</strong> (from JBoss jBPM Site)</li><li>unzip folder</li><li>Enter to folder <strong>/jbpm-installer</strong></li><li>Edit file <strong>standalone.xml</strong> (modified to make red-labeled)<ul style="margin: 0 0 0 2em; list-style-position: outside;"><li><span style="margin: 0 0 0.714285em;">&lt;subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"&gt;<br clear="none"/>&lt;connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/&gt;<br clear="none"/>&lt;virtual-server name="default-host" enable-welcome-root="true"&gt;<br clear="none"/>&lt;alias name="<span style="color: #ff0000;"><strong>0.0.0.0</strong></span>"/&gt;<br clear="none"/>&lt;/virtual-server&gt;<br clear="none"/>&lt;/subsystem&gt;</span></li><li><span style="margin: 0 0 0.714285em;">&lt;subsystem xmlns="urn:jboss:domain:webservices:1.1"&gt;<br clear="none"/>&lt;modify-wsdl-address&gt;true&lt;/modify-wsdl-address&gt;<br clear="none"/>&lt;wsdl-host&gt;${jboss.bind.address:<span style="color: #ff0000;"><strong>0.0.0.0</strong></span>}&lt;/wsdl-host&gt;<br clear="none"/>&lt;endpoint-config name="Standard-Endpoint-Config"/&gt;<br clear="none"/>&lt;endpoint-config name="Recording-Endpoint-Config"&gt;<br clear="none"/>&lt;pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM"&gt;<br clear="none"/>&lt;handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/&gt;<br clear="none"/>&lt;/pre-handler-chain&gt;<br clear="none"/>&lt;/endpoint-config&gt;<br clear="none"/>&lt;/subsystem&gt;</span></li><li><span style="margin: 0 0 0.714285em;">&lt;interfaces&gt;<br clear="none"/>&lt;interface name="management"&gt;<br clear="none"/>&lt;inet-address value="${jboss.bind.address.management:<span style="color: #ff0000;"><strong>0.0.0.0</strong></span>}"/&gt;<br clear="none"/>&lt;/interface&gt;<br clear="none"/>&lt;interface name="public"&gt;<br clear="none"/>&lt;inet-address value="${jboss.bind.address:<span style="color: #ff0000;"><strong>0.0.0.0</strong></span>}"/&gt;<br clear="none"/>&lt;/interface&gt;<br clear="none"/>&lt;interface name="unsecure"&gt;<br clear="none"/>&lt;inet-address value="${jboss.bind.address.unsecure:<span style="color: #ff0000;"><strong>0.0.0.0</strong></span>}"/&gt;<br clear="none"/>&lt;/interface&gt;<br clear="none"/>&lt;/interfaces&gt;</span></li></ul></li><li>Edit file <strong>build.xml </strong>(with bug corrections Definition persistence configuration)<ul><li><span style="margin: 0 0 0.714285em;">&lt;property name="jboss.bind.address" value="<span style="color: #ff0000;"><strong>0.0.0.0</strong></span>" /&gt;</span></li><li><span style="margin: 0 0 0.714285em;">&lt;!-- Install gwt-console --&gt;<br clear="none"/>&lt;target name="install.jBPM-gwt-console.into.jboss" depends="download.db.driver,download.jBPM.gwt-console"&gt;<br clear="none"/>&lt;antcall target="install.jBPM-gwt-console.into.jboss5" /&gt;<br clear="none"/>&lt;antcall target="install.jBPM-gwt-console.into.jboss7" /&gt;<br clear="none"/>&lt;/target&gt;<br clear="none"/>&lt;target name="install.jBPM-gwt-console.into.jboss7" depends="check.jboss.version" if="jboss.version.is.7"&gt;<br clear="none"/>&lt;!-- download reporting --&gt;<br clear="none"/>&lt;antcall target="download.birt.as7" /&gt;<br clear="none"/>&lt;!-- gwt-console --&gt;<br clear="none"/>&lt;mkdir dir="${install.home}/target"/&gt;<br clear="none"/>&lt;mkdir dir="${install.home}/target/jbpm-gwt-console-server-war"/&gt;<br clear="none"/>&lt;unzip src="${install.home}/lib/jbpm-gwt-console-server-${jBPM.version}-${deployment.version}.war"<br clear="none"/>dest="${install.home}/target/jbpm-gwt-console-server-war"/&gt;<br clear="none"/>&lt;copy todir="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib" overwrite="true"&gt;<br clear="none"/>&lt;fileset dir="${install.home}/db/driver"/&gt;<br clear="none"/>&lt;/copy&gt;<br clear="none"/>&lt;!-- Other configuration like work item handlers --&gt;<br clear="none"/>&lt;copy todir="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/classes" overwrite="true"&gt;<br clear="none"/>&lt;fileset dir="${install.home}/conf"/&gt;<br clear="none"/>&lt;/copy&gt;<br clear="none"/>&lt;!-- copy user defined persistence configuration if exists --&gt;<br clear="none"/>&lt;copy tofile="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/classes/META-INF/persistence.xml" overwrite="true" <br clear="none"/>file="${install.home}/db/jbpm-persistence<span style="color: #ff0000;"><strong>-JPA2</strong></span>.xml" failonerror="false"/&gt;<br clear="none"/>&lt;copy tofile="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/classes/META-INF/ProcessInstanceInfoMapping.xml" overwrite="true" <br clear="none"/>file="${install.home}/db/ProcessInstanceInfoMapping.xml" failonerror="false"/&gt;</span></li><li><span style="margin: 0 0 0.714285em;">&lt;!-- install reporting --&gt;<br clear="none"/>&lt;antcall target="install.reporting.into.jboss7" /&gt;<br clear="none"/>&lt;!-- install dependencies --&gt;<br clear="none"/>&lt;antcall target="install.dependencies" /&gt;<br clear="none"/>&lt;zip basedir="${install.home}/target/jbpm-gwt-console-server-war"<br clear="none"/>destfile="${install.home}/target/jbpm-gwt-console-server-${jBPM.version}.war"/&gt;<br clear="none"/>&lt;copy file="${install.home}/target/jbpm-gwt-console-server-${jBPM.version}.war"<br clear="none"/>tofile="${jboss.server.deploy.dir}/jbpm-gwt-console-server.war"<br clear="none"/>overwrite="true" /&gt;<br clear="none"/>&lt;copy file="${install.home}/lib/jbpm-gwt-console-${jBPM.version}.war"<br clear="none"/>tofile="${jboss.server.deploy.dir}/jbpm-gwt-console.war"<br clear="none"/>overwrite="true" /&gt;<br clear="none"/>&lt;delete dir="${install.home}/target"/&gt;<br clear="none"/>&lt;copy file="${install.home}/standalone.xml"<br clear="none"/>tofile="${jboss.home}/standalone/configuration/standalone.xml"<br clear="none"/>overwrite="true" /&gt;<br clear="none"/>&lt;!-- authentication configuration --&gt;<br clear="none"/>&lt;copy file="${install.home}/auth/users.properties"<br clear="none"/>tofile="${jboss.server.conf.dir}/users.properties"<br clear="none"/>overwrite="true" /&gt;<br clear="none"/>&lt;copy file="${install.home}/auth/roles.properties"<br clear="none"/>tofile="${jboss.server.conf.dir}/roles.properties"<br clear="none"/>overwrite="true" /&gt;<br clear="none"/>&lt;/target&gt;<br clear="none"/>&lt;target name="install.jBPM-gwt-console.into.jboss5" depends="check.jboss.version,install.transport.lib" unless="jboss.version.is.7"&gt;<br clear="none"/>&lt;!-- download reporting --&gt;<br clear="none"/>&lt;antcall target="download.birt.as5" /&gt;<br clear="none"/>&lt;!-- gwt-console --&gt;<br clear="none"/>&lt;mkdir dir="${install.home}/target"/&gt;<br clear="none"/>&lt;mkdir dir="${install.home}/target/jbpm-gwt-console-server-war"/&gt;<br clear="none"/>&lt;unzip src="${install.home}/lib/jbpm-gwt-console-server-${jBPM.version}-${deployment.version}.war"<br clear="none"/>dest="${install.home}/target/jbpm-gwt-console-server-war"/&gt;<br clear="none"/>&lt;!-- Other configuration like work item handlers --&gt;<br clear="none"/>&lt;copy todir="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/classes" overwrite="true"&gt;<br clear="none"/>&lt;fileset dir="${install.home}/conf"/&gt;<br clear="none"/>&lt;/copy&gt;<br clear="none"/>&lt;!-- copy user defined persistence configuration if exists --&gt;<br clear="none"/>&lt;copy tofile="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/classes/META-INF/persistence.xml" overwrite="true" <br clear="none"/>file="${install.home}/db/jbpm-persistence<span style="color: #ff0000;">-<strong>JPA2</strong></span>.xml" failonerror="false"/&gt;<br clear="none"/>&lt;copy tofile="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/classes/META-INF/ProcessInstanceInfoMapping.xml" overwrite="true"<br clear="none"/>file="${install.home}/db/ProcessInstanceInfo.hbm.xml" failonerror="false"/&gt;</span></li><li><span style="margin: 0 0 0.714285em;">&lt;!-- Install jbpm human task war --&gt;<br clear="none"/>&lt;target name="install.ht.war.into.jboss7" if="jboss.version.is.7"&gt;<br clear="none"/>&lt;mkdir dir="${install.home}/target"/&gt;<br clear="none"/>&lt;mkdir dir="${install.home}/target/jbpm-human-task-war"/&gt;<br clear="none"/>&lt;unzip src="${install.home}/lib/jbpm-human-task-war-${jBPM.version}-${deployment.version}.war" dest="${install.home}/target/jbpm-human-task-war" /&gt;<br clear="none"/>&lt;copy file="${install.home}/task-service/resources/war/web.xml" <br clear="none"/>tofile="${install.home}/target/jbpm-human-task-war/WEB-INF/web.xml" <br clear="none"/>overwrite="true" /&gt;<br clear="none"/>&lt;!-- copy user defined persistence configuration if exists --&gt;<br clear="none"/>&lt;copy tofile="${install.home}/target/jbpm-human-task-war/WEB-INF/classes/META-INF/persistence.xml" overwrite="true" <br clear="none"/>file="${install.home}/db/task-persistence<span style="color: #ff0000;">-<strong>JPA2</strong></span>.xml" failonerror="false"/&gt;<br clear="none"/>&lt;copy tofile="${install.home}/target/jbpm-human-task-war/WEB-INF/classes/META-INF/ProcessInstanceInfoMapping.xml" overwrite="true"<br clear="none"/>file="${install.home}/db/Taskorm<span style="color: #ff0000;"><strong>-JPA2</strong></span>.xml" failonerror="false"/&gt;<br clear="none"/>&lt;zip basedir="${install.home}/target/jbpm-human-task-war"<br clear="none"/>destfile="${install.home}/target/jbpm-${jBPM.version}-human-task-war.war" /&gt;<br clear="none"/>&lt;copy file="${install.home}/target/jbpm-${jBPM.version}-human-task-war.war" <br clear="none"/>tofile="${jboss.server.deploy.dir}/jbpm-human-task-war.war" <br clear="none"/>overwrite="true" /&gt;<br clear="none"/>&lt;delete dir="${install.home}/target" /&gt;<br clear="none"/>&lt;/target&gt;</span></li></ul></li><li>Enter to folder <strong>/conf</strong></li><li>Edit file <strong>default.jbpm.console.properties</strong><ul><li><span style="margin: 0 0 0.714285em;">jbpm.console.server.host=<span style="color: #ff0000;"><strong>0.0.0.0</strong></span><br clear="none"/>jbpm.console.server.port=8080<br clear="none"/>jbpm.console.task.service.strategy=HornetQ<br clear="none"/>jbpm.console.task.service.host=<span style="color: #ff0000;"><strong>0.0.0.0</strong></span><br clear="none"/>jbpm.console.task.service.port=5153<br clear="none"/>jbpm.console.directory=<br clear="none"/>guvnor.protocol=http<br clear="none"/>guvnor.host=<span style="color: #ff0000;"><strong>0.0.0.0</strong></span>:8080<br clear="none"/>guvnor.subdomain=drools-guvnor<br clear="none"/>guvnor.usr=admin<br clear="none"/>guvnor.pwd=admin<br clear="none"/>guvnor.packages=<br clear="none"/>guvnor.connect.timeout=10000<br clear="none"/>guvnor.read.timeout=10000<br clear="none"/>guvnor.snapshot.name=LATEST</span></li></ul></li><li>Edit file <strong>guvnor.preferences.propierties</strong><ul><li><span style="margin: 0 0 0.714285em;">#Designer configuration<br clear="none"/><span>designer.url=</span><a class="jive-link-external-small" href="http://" rel="nofollow" target="_blank">http://</a><span style="color: #ff0000;"><strong>0.0.0.0</strong></span>:8080<br clear="none"/>#Do not change this unless you know what are you doing<br clear="none"/>designer.context=designer<br clear="none"/>designer.profile=jbpm</span><span style="margin: 0 0 0.714285em;">#FormBuilder configuration<br clear="none"/>#Do not change this unless you know what are you doing<br clear="none"/><span>formbuilder.url=</span><a class="jive-link-external-small" href="http://" rel="nofollow" target="_blank">http://</a><span style="color: #ff0000;"><strong>0.0.0.0</strong></span>:8080<br clear="none"/>formbuilder.context=jbpm-form-builder<br clear="none"/>formbuilder.profile=guvnor</span></li></ul></li><li>Back to folder <strong>/jbpm-installer</strong></li><li>run command: ant install.demo.noeclipse</li><li>run command: ant start.demo.noeclipse</li><li><span>Verify access URL: </span><a class="jive-link-external-small" href="http://" rel="nofollow" target="_blank">http://</a><span style="color: #ff0000;">0.0.0.0</span>:8080</li><li><span>Access jBPM console: </span><a class="jive-link-external-small" href="http://" rel="nofollow" target="_blank">http://</a><span style="color: #ff0000;">0.0.0.0</span>:8080/jbpm-console/app.html</li><li><span>Access Drools-Guvnor: </span><a class="jive-link-external-small" href="http://" rel="nofollow" target="_blank">http://</a><span style="color: #ff0000;">0.0.0.0</span>:8080/drools-guvnor/</li></ul><p>Done.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="https://community.jboss.org/docs/DOC-48369">going to Community</a></p>

        <p style="margin: 0;">Create a new document in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>