ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ Listener on Windows

Post new topic  Reply to topic Goto page 1, 2  Next
 MQ Listener on Windows « View previous topic :: View next topic » 
Author Message
Pavan Kumar PNV
PostPosted: Mon Jun 22, 2009 10:32 pm    Post subject: MQ Listener on Windows Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

Is there a way to find out the port number of listener on windows without using MQ Explorer? Especially when we have multiple queue managers running and the listeners were not created/started theu the runmqsc interface
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
jon
PostPosted: Mon Jun 22, 2009 10:59 pm    Post subject: Reply with quote

Apprentice

Joined: 17 May 2009
Posts: 32

Try in the windows Registry at this location -
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\Services\Qmgrname\Listener
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Mon Jun 22, 2009 11:02 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

Just wondering if there was any other way of finding that out .. in case we dont have access to the registry?
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Mr Butcher
PostPosted: Mon Jun 22, 2009 11:39 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

go to http://live.sysinternals.com , then use tcpview.exe
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Mon Jun 22, 2009 11:48 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

Amazing Utility! Thank you. Someone else just mentioned use of netstat -b command as an alternative.
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Mr Butcher
PostPosted: Tue Jun 23, 2009 12:08 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

netstat -b is not working on my windows (-b is not a valid option). netstat -a shows the listening port, but not WHO is listening on that port.
however, there are multiple ways to archieve what you want....
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Wed Jun 24, 2009 3:07 am    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

I am running Windows XP V2002, SP 2 and when I did a netstat -b, it got me the who!
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
shashivarungupta
PostPosted: Wed Jun 24, 2009 3:37 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

DISPLAY LISTENER(*) ALL
2 : DISPLAY LISTENER(*) ALL
AMQ8630: Display listener information details.
LISTENER(LISTENER.TCP) CONTROL(QMGR)
TRPTYPE(TCP) PORT(1514)
IPADDR( ) BACKLOG(0)
DESCR( ) ALTDATE(2009-06-22)
ALTTIME(12.30.10)
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Wed Jun 24, 2009 3:41 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

jon wrote:
Try in the windows Registry at this location -
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\Services\Qmgrname\Listener


I don't see the Listener folder under that tree !!
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Jun 24, 2009 3:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

shashivarungupta wrote:
DISPLAY LISTENER(*) ALL
2 : DISPLAY LISTENER(*) ALL
AMQ8630: Display listener information details.
LISTENER(LISTENER.TCP) CONTROL(QMGR)
TRPTYPE(TCP) PORT(1514)
IPADDR( ) BACKLOG(0)
DESCR( ) ALTDATE(2009-06-22)
ALTTIME(12.30.10)


Does that still work if the listener isn't running as a queue manager object, but is still external (e.g. on an upgraded v5.3 queue manager that wasn't reconfigured)?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jun 24, 2009 3:55 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Vitor wrote:
shashivarungupta wrote:
DISPLAY LISTENER(*) ALL
2 : DISPLAY LISTENER(*) ALL
AMQ8630: Display listener information details.
LISTENER(LISTENER.TCP) CONTROL(QMGR)
TRPTYPE(TCP) PORT(1514)
IPADDR( ) BACKLOG(0)
DESCR( ) ALTDATE(2009-06-22)
ALTTIME(12.30.10)


Does that still work if the listener isn't running as a queue manager object, but is still external (e.g. on an upgraded v5.3 queue manager that wasn't reconfigured)?


I ended the Listener. As:
C:\>endmqlsr -M EXPERIMENT
A WebSphere MQ listener will end shortly.

(I could have used -w as well, anyways...)

Then I checked...

DISPLAY listener(*) all
2 : DISPLAY listener(*) all
AMQ8630: Display listener information details.
LISTENER(LISTENER.TCP) CONTROL(QMGR)
TRPTYPE(TCP) PORT(1514)
IPADDR( ) BACKLOG(0)
DESCR( ) ALTDATE(2009-06-22)
ALTTIME(12.30.10)

Its there.

Name: WebSphere MQ
Version: 6.0.2.4
CMVC level: p600-204-080509
BuildType: IKAP - (Production)

Have I answered your question or I missed something ?
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
sumit
PostPosted: Wed Jun 24, 2009 3:56 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

Pavan Kumar PNV wrote:
I am running Windows XP V2002, SP 2 and when I did a netstat -b, it got me the who!

But, can you see MQ listener in it?

I can see PID for listener using 'tasklist'. May be you can find how you can use it get the listener port.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
shashivarungupta
PostPosted: Wed Jun 24, 2009 4:06 am    Post subject: Re: MQ Listener on Windows Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Pavan Kumar PNV wrote:
... when we have multiple queue managers running and the listeners were not created/started theu the runmqsc interface...


Pavan Kumar PNV wrote:

...netstat -b command as an alternative....


I am on Windows XP Professional, SP2. And when ran the netstat -b , i got the info. under following heads.
Proto, Local Address, Foreign Address, State, PID

But then as you said, you created the queue managers but not the listeners (not for all of them) and you wanted to check. In netstat -b you are not getting the name of the queue manager (but the PID). You again have to dig to get the name of the queue manager for the respective port. (To make a match)
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Wed Jun 24, 2009 4:37 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

shashivarungupta wrote:
...Have I answered your question or I missed something ?


I think my esteemed master meant that if a Listener object has not been configured, then a 'dis listener(*)' will be of no value at all - so, I guess you missed something.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jun 24, 2009 4:41 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

exerk wrote:
shashivarungupta wrote:
...Have I answered your question or I missed something ?


I think my esteemed master meant that if a Listener object has not been configured, then a 'dis listener(*)' will be of no value at all - so, I guess you missed something.


Have I?
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » MQ Listener on Windows
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.