Author |
Message
|
WBI_user |
Posted: Mon Oct 10, 2005 7:23 am Post subject: Display what http port the broker is listening on |
|
|
Partisan
Joined: 07 Aug 2001 Posts: 386
|
How can I find out which port the broker http listener is listening on without stopping the broker. Reading the manual, I can use mqsichangebroker to set the port. but it require stopping the broker.
I tries to use mqsireportproperties which requires 3 parameters broekr name, execution group name, and object. But it did not say on the help page what object should be. On the mqsichangeproperties page, it says that object has to be DynamicSubscriptionEngine.
But when i tried
mqsireportproperties MyWBRK -e myEG -o DynamicSubscriptionEngine
I got error BIP8002E: Selected flags incompatible.
I am not sure if report properties will give the port number ?
ANy help ? |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 10, 2005 7:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
did you try "netstat"? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JT |
Posted: Mon Oct 10, 2005 7:44 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
I got error BIP8002E: Selected flags incompatible.
I am not sure if report properties will give the port number ? |
I don't know either, but in any case you have to include one of the 'optional' parameters.
Quote: |
Parameters
brokername
(Required) The name of the broker.
-e execgroupname
(Required) The label of the execution group for which a report is required.
-o object
(Required) Object name
-n name
(Optional) Display only the named attribute
-a
(Optional) Indicates that all attribute values of the object are displayed, and does not recurse into attributes that have child values.
-r
(Optional) Indicates that all attribute values of the object are displayed and, additionally, displays the child values for all attributes that have child attributes.
You must select one, and only one, option from n, a, and r. |
|
|
Back to top |
|
 |
WBI_user |
Posted: Mon Oct 10, 2005 7:54 am Post subject: |
|
|
Partisan
Joined: 07 Aug 2001 Posts: 386
|
Yes, I tried netstat
C:\WINNT\system32>netstat -a
Active Connections
Proto Local Address Foreign Address State
TCP win2000:ftp win2000:0 LISTENING
TCP win2000:epmap win2000:0 LISTENING
TCP win2000:microsoft-ds win2000:0 LISTENING
:
TCP win2000:7080 win2000:0 LISTENING
It shows that 7080 (which I think is the default port for biphttplistener) is in listening status. I have no way to confirm if anyone has change the port on me and 7080 is now not used by the MB.
I was called in to do debugging while the regular person is on vacation. I don't want to change anything until I ma sure what I am doing. |
|
Back to top |
|
 |
WBI_user |
Posted: Mon Oct 10, 2005 8:01 am Post subject: |
|
|
Partisan
Joined: 07 Aug 2001 Posts: 386
|
Yes JT, you are right , I need one of the optional parametrs
mqsireportproperties MyWBRK -e myEG -o DynamicSubscriptionEngine
-a works. But biplistener is not one of the displayed output.
So I still donot know which port the broker's http node is listening on ? I wish that is a configurable parameter of the node. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 10, 2005 8:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you are on windows, which you are, then Regedit is your friend.
HKLM->Software->IBM->WebSphereMQIntegrator->2-><brokername>->HttpListenerPort _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
WBI_user |
Posted: Mon Oct 10, 2005 11:32 am Post subject: |
|
|
Partisan
Joined: 07 Aug 2001 Posts: 386
|
Thanks jefflowrey, I am using Windows. This is very helpful. |
|
Back to top |
|
 |
|