Author |
Message
|
ydsk |
Posted: Fri Jul 14, 2006 8:56 am Post subject: How to change the port used by broker's HTTPListener ? |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Can someone pls answer the 2 questions for me regarding WMB v6 :
(1) Any command to change the port used by a HTTPListener of broker ? Is it mqsichangebroker or mqsichangeproperties ?
mqsichangeproperties command options aren't well documented.
(2) And how do we see which port the broker's HTTP Listener is listening on ?
Thanks. |
|
Back to top |
|
 |
jbanoop |
Posted: Fri Jul 14, 2006 10:50 pm Post subject: |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
Try this..
mqsistop <broker name>
mqsichangebroker <broker name> -P <port number for listener>
mqsistart <broker name>
to see the details of http listener try:
mqsireportproperties <brokername> -b httplistener -o HTTPListener -a although help states that this does not display default values.
or else u could do a grep on BipHttpListener and check the port number ...
Hope it helps
Anoop |
|
Back to top |
|
 |
venkat kurra |
Posted: Sat Jul 15, 2006 3:58 am Post subject: |
|
|
 Master
Joined: 18 Oct 2001 Posts: 245 Location: Bloomington , IL
|
Also you can see a registry entry HTTPListener with that port number.
on Windwos HKEY_LOCAL_MACHINE/SOFTWARE/IBM/WebSphereMQIntegrator/2/<broker name>/CurrentVersion/DSN/HTTPListener...
On Unix,
\var\mqsi\registry\<broker name>\CurrentVersion\HTTPListener _________________ Thanks,
Venkat Kurra
IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin |
|
Back to top |
|
 |
ydsk |
Posted: Sun Jul 16, 2006 10:08 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
mqsireportproperties didn't help.
Looks like there is no documented command to see the port# on which the HTTPListener is running.
I need some command to see the HTTP port on Solaris/AIX.....not windows.
Appreciate any help.
Thanks
ydsk. |
|
Back to top |
|
 |
ydsk |
Posted: Sun Jul 16, 2006 10:12 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
On Unix, \var\mqsi\registry\<broker name>\CurrentVersion\HTTPListener shows what value we gave when creating broker ( or when we issued mqsichangebroker later) but in order to make sure that the listener is running properly and listening on the port we gave, we need some command to see it ( just like netstat ).
We are using WMB v6 on Solaris.
IBM Hursley guys in the forum, any hints ?
Thanks.
ydsk. |
|
Back to top |
|
 |
venkat kurra |
Posted: Sun Jul 16, 2006 10:47 am Post subject: |
|
|
 Master
Joined: 18 Oct 2001 Posts: 245 Location: Bloomington , IL
|
Did you deploy a http flow?
if not you can not see that port. After deploy a flow you should bounce the broker (may be twice).
Yes you can use netstat -a | grep <port>.
If the flow is running then ps -ef|grep <port> also work for you.
All the best. _________________ Thanks,
Venkat Kurra
IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin |
|
Back to top |
|
 |
ydsk |
Posted: Sun Jul 16, 2006 11:56 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
netstat - a --> doesn't show if HTTPListener is using it.
ps - ef ---------> is only for unix.
I deployed the webservice flow and also I bounced the broker 3-4 times.
Is there a consistent command across all platforms to see on what port the HTTPLIstener is running ?
IBM Hursley guys, can you pls post some information on this.
Thanks.
ydsk. |
|
Back to top |
|
 |
jbanoop |
Posted: Sun Jul 16, 2006 10:37 pm Post subject: |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
Quote: |
I need some command to see the HTTP port on Solaris/AIX |
we have our borokers on AIX here and the command
ps -ef | grep BipHttpListener
works .
Did you actually try it out ??
Basically just find the command on the OS that can be used to get the processname and port number.
You should look at the OS commands and not to message broker commands.
Anoop |
|
Back to top |
|
 |
ydsk |
Posted: Mon Jul 17, 2006 11:39 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
As I already said ps - ef works for unix.
what I should and shouldn't look for in broker commands should be documented in the broker commands.
I still feel there should be some well documented mqsi* command that can be used on all broker supported platforms to see what port the broker's HTTPListener is running on.
Since there are no comments from Hursley guys I assume there is no such mqsi* command.
thanks.
ydsk. |
|
Back to top |
|
 |
muf2005 |
Posted: Tue Mar 06, 2007 5:17 am Post subject: |
|
|
Newbie
Joined: 25 Feb 2007 Posts: 2
|
Use the 'mqsireportproperties' command to examine the values of properties. Set using the 'mqsichangeproperties' command.
mqsichangeproperties broker -b httplistener -o HTTPConnector -n port -v value
mqsireportproperties brokername -b httplistener -o HTTPConnector -n port |
|
Back to top |
|
 |
muf2005 |
Posted: Tue Mar 06, 2007 5:19 am Post subject: |
|
|
Newbie
Joined: 25 Feb 2007 Posts: 2
|
Also note : To see the change stop and start your broker.
Before executing command your broker must be running |
|
Back to top |
|
 |
|