-
1. Re: Changing AS7 port number
jnorris Jun 22, 2012 12:48 PM (in response to jnorris)These Jira issues indicate that the port issue is resolved for jbpm-console: https://issues.jboss.org/browse/JBPM-2980,
https://issues.jboss.org/browse/JBPM-3396
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 http://127.0.0.1:8080 in numerous files as mentioned above.
Jim
-
2. Re: Changing AS7 port number
lisadesouza89 Jan 18, 2013 12:54 AM (in response to jnorris)So what does this mean? Its not possible to change the port to anything other than 8080?
-
3. Re: Changing AS7 port number
kornilovs Jan 18, 2013 1:54 AM (in response to jnorris)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
lisadesouza89 Jan 18, 2013 4:27 AM (in response to kornilovs)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
kornilovs Jan 18, 2013 6:55 AM (in response to lisadesouza89)Port offset change setting of all deployed application on server.
-
6. Re: Changing AS7 port number
jaikiran Jan 18, 2013 8:36 AM (in response to kornilovs)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 Jan 21, 2013 8:05 AM (in response to jnorris)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
-
8. Re: Changing AS7 port number
jnorris Jan 22, 2013 7:21 AM (in response to thomas.setiabudi)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.
Regards,
Jim