8 Replies Latest reply on Jan 22, 2013 7:21 AM by jnorris

    Changing AS7 port number

    jnorris Newbie

      Hi all,

      Has anyone been able to change the AS7 port number to something other than 8080 and get the drools-guvnor and jbpm-console web-apps to work together?  There are many places in the jar/war files that have 8080 for URL's hard-coded including properties, xml, json, js files.  IMHO, this breaks the guvnor to console link and limits the usefulness of the community edition.




        • 1. Re: Changing AS7 port number
          jnorris Newbie

          These Jira issues indicate that the port issue is resolved for jbpm-console: https://issues.jboss.org/browse/JBPM-2980,



          The jbpm.console.properties in the 5.3.0 installer doesn’t update the file in the war.  There is no reference to it in build.xml.  Even updating it manually doens't work as URL's are hard-coded to in numerous files as mentioned above.



          • 2. Re: Changing AS7 port number
            Lisa DeSouza Newbie

            So what does this mean? Its not possible to change the port to anything other than 8080?

            • 3. Re: Changing AS7 port number
              Sergey Kornilov Newbie

              You can set port-offset for jBoss server in  standalone.xml

              <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">  
              • 4. Re: Changing AS7 port number
                Lisa DeSouza Newbie

                But does this also change the port mappings for drools guvnor and jbpm console? When I changed it to 8088, JBOSS was setup properly, but not the others...

                • 5. Re: Changing AS7 port number
                  Sergey Kornilov Newbie

                  Port offset change setting of all deployed application on server.

                  • 6. Re: Changing AS7 port number
                    Jaikiran Pai Master

                    Sergey Kornilov wrote:


                    Port offset change setting of all deployed application on server.

                    I think what the other posters are talking about is the apparent hardcoding of certain ports within the jBPM application(s) which effectively means that they will no longer function if the server wide ports are changed.

                    • 7. Re: Changing AS7 port number
                      Thomas Setiabudi Expert

                      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




                      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







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

                           adjust the setting for




                      F. jbpm-human-task-war.war

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

                           adjust the setting for


                           and also



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


                      it works for JBPM5.4




                      Thomas Setiabudi

                      • 8. Re: Changing AS7 port number
                        jnorris Newbie

                        Hi Thomas,


                        We are no longer using any of the jbpm web apps so this doesn't apply to our application now but I will mark your post as the correct answer.