Author |
Message
|
morpheus |
Posted: Thu Oct 16, 2003 9:35 am Post subject: Information about who is GETTING messages |
|
|
 Acolyte
Joined: 08 Mar 2003 Posts: 72 Location: Austin, TX
|
Hi Gurus,
greetings to all.
We have a situation and would seek you advise. Please help me find the solution.
Appication1 is putting messages on a queue. And Application2 is supposed to GET the messages from the queue. But by mistake some other application is listening to this queue.
Question:
Is there ANY way we can get any info about which application might be listening. Any straight or round about way.
Any help is GREATLY APPRECIATED.
regards
MQGuy |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Oct 16, 2003 9:37 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
If you are using MQSeries Version 5.3 then there is a qstatus that may yield what you want. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
Missam |
Posted: Thu Oct 16, 2003 11:26 am Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
DISPLAY QSTATUS(q_name) TYPE(HANDLE) PID APPLTAG APPLTYPE
returns the ProcessId Tag Appltype of applications currently using the queue
if you type
ps -ef | grep PID
you can know in detail the application using the queue
Thanx
Sam |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Oct 16, 2003 2:02 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
If you aren't running MQ 5.3, you can try get disabling the queue to see who complains. |
|
Back to top |
|
 |
mb5278 |
Posted: Thu Oct 30, 2003 7:29 am Post subject: |
|
|
Novice
Joined: 20 Oct 2003 Posts: 10
|
check the PIDs on the queue ("Q") file handles (on NT, there's an utility handle.exe (www.sysinternals.com). Although it doesn't help always, you still get some information.
Anyway, move to 53 asap. |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Oct 30, 2003 12:12 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Quote: |
Appication1 is putting messages on a queue. And Application2 is supposed to GET the messages from the queue. But by mistake some other application is listening to this queue. |
I hope this is happening in a development environment otherwise you have a serious security problem... Do your applications connect under mqm authority? Even if you give the wrong queue name to an application team, your security settings should prevent them from connecting to that wrong queue!
Michael |
|
Back to top |
|
 |
|