JBoss Community

Re: Changing AS7 port number

created by Thomas Setiabudi in jBPM - View the full discussion

Hi jnorris,

 

Yes the port setting is scattered in many configuration files in JBPM5.3 or JBPM5.4

 

But it is possible to change all the ports and jbpm still works correctly, at least it has proven to work for JBPM5.4.

 

Places where you need to make changes is:

A. Your jboss AS standalone.xml

 

B.  designer.war

      go to designer.war\profiles\jbpm.xml

      change the guvnor port in  <externalloadurl protocol="http" host=....

 

C. drools-guvnor.war

    go to drools-guvnor.war\WEB-INF\classes\preferences.properties

    change the port in

     designer.url=

     formbuilder.url=

 

D. jbpm-form-builder.war

    go to jbpm-form-builder.war\WEB-INF\springComponents.xml

    change the port number in

     <bean id="guvnorUrl" class="java.lang.String">
      <constructor-arg type="java.lang.String" value=

 

E. jbpm-gwt-console-server.war

     go to jbpm-gwt-console-server.war\WEB-INF\classes\default.jbpm.console.properties



     adjust the setting for

     jbpm.console.server.host=

     jbpm.console.server.port=

     jbpm.console.task.service.host=

     jbpm.console.task.service.port=

     guvnor.host=

 

     go to  jbpm-gwt-console-server.war\WEB-INF\classes\guvnor.preferences.properties

     adjust the setting for

     designer.url=

     formbuilder.url=

 

F. jbpm-human-task-war.war

     go to jbpm-human-task-war.war\WEB-INF\web.xml

     adjust the setting for

     <param-name>hornetq.host</param-name>

     and also

     <param-name>hornetq.port</param-name>

 

And lastly make sure that your new port is not used by other application / service.

 

it works for JBPM5.4

 

 

Regards,

Thomas Setiabudi

Reply to this message by going to Community

Start a new discussion in jBPM at Community