Author |
Message
|
aftab |
Posted: Mon Oct 13, 2014 1:31 am Post subject: Changing the HTTP port of an execution group |
|
|
Newbie
Joined: 13 Oct 2014 Posts: 7
|
I am using the following command to change the HTTP listener port to 7800 of an execution group, so that my deployed web service starts listening on this port-
mqsichangeproperties BrokerName -o HTTPConnector -e EGName -n port -v 7800
This command run successfully, after which I restarted the Broker. But still the port is set to its initial value of 7801
Can you please let me know what should I do now. |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Oct 13, 2014 1:44 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Is port 7800 already in use?
use the netstat command to help you here. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Oct 13, 2014 3:22 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7723
|
Please show us your mqsichangeproperties command and its output.
Then the mqsireportproperties command and its output that you used to verify it worked. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
aftab |
Posted: Mon Oct 13, 2014 3:54 am Post subject: |
|
|
Newbie
Joined: 13 Oct 2014 Posts: 7
|
Thanks everyone.
Using netstat command I found that the port 7800 was already in use by another EG. That's why I was not able to set that port.
But strange this was the command run successfully everytime I tried without prompting with any error message on the console. May be some error messages would have been generated in log files. |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Oct 13, 2014 4:10 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
There are some notes in the documentation about how the EG's allocate the HTTP Port. It might be worth reviewing.
I usually allocare the HTTP Ports to non standard numbers. That way I can easily see where there are problems. Also, using non default ports is IMHO more secure.(I know that others may disagree here) _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Oct 13, 2014 4:55 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The command you executed succeeded.
It correctly set the port that the EG would use.
The EG was unable to use that port. |
|
Back to top |
|
 |
|