In 5.3 there is a mqsc command that shows the prcesses
that have a queue opend, dis qstat. You can also use
the menu option "status" in the mq explorer. If the
opne options is not specified in the mqopen the values
is taken from the queue definition.

Jonas Nyberg
Electrolux IT Solutions - Sweden

-----Original Message-----
From: Emile Kearns <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] 
Date: Thu, 12 Feb 2004 11:18:04 +0200
Subject: Re: Question regarding MQRC_OBJECT_IN_USE

I think you said you were using 5.2 and unfortunately I do not know of any
command to check who has the queue open. I "THINK" in 5.3 there is a command
to check this, which process or user has the queue open.
There is some other process that has the queue open exclusively. As far as I
remember, the queue definition takes preference to the MQOPEN, somebody
please correct me if I am wrong.
Change the Queue definition if you can and retry.

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Doron J
Sent: 12 February 2004 09:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Question regarding MQRC_OBJECT_IN_USE

The queue is defined with:
Sherability- Not Shareable
Default input Open Option- Exclusive

Are these related (especially the "shareability" option) ? It seems so, but
the interesting thing is that sometimes it (MQOPEN) succeeds and sometimes
it fails. I don't have a solid repro.

Thanks!,
Doron

>From: Emile Kearns <[EMAIL PROTECTED]>
>Reply-To: MQSeries List <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Question regarding MQRC_OBJECT_IN_USE
>Date: Wed, 11 Feb 2004 15:34:09 +0200
>
>Just a simple question, how is the queue defined?
>
>Emile Kearns
>Certified MQSeries Specialist
>IBM Certified System Administrator - Websphere MQ, V5.3
>-----Original Message-----
>From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Potkay,
>Peter M (PLC, IT)
>Sent: 11 February 2004 03:13 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Question regarding MQRC_OBJECT_IN_USE
>
>Whether the orphaned svrconn process is still hanging around is irrelevant,
>since it opened the queue with MQOO_INPUT_SHARED. Another process should be
>able to open the queue as well if it also specifies MQOO_INPUT_SHARED,
>whether the first process is actively running or it crashed.
>
>I think the original question stands: Why can't the second process open the
>queue?
>
>
>
>-----Original Message-----
>From: Ruzi R [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 11, 2004 7:43 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Question regarding MQRC_OBJECT_IN_USE
>
>
>Jonas is right. Setting TCP Keepalive is strongly
>recommended for SVRCONN channels.
>
>Ruzi
>--- Jonas Nyberg <[EMAIL PROTECTED]> wrote:
> > Doron,
> >
> > You probably have a svrconn process on the qmgr that
> > is still running. Try stop and start the svrconn
> > channel. When client programs crash or end without
> > closing and disconnecting from the qmgr you might
> > face
> > this kind of problems.
> >
> > Jonas Nyberg
> > Electrolux IT Solutions - Sweden
> >
> > -----Original Message-----
> > From: Doron J <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Date: Wed, 11 Feb 2004 09:28:00 +0200
> > Subject: Question regarding MQRC_OBJECT_IN_USE
> >
> > Hello,
> >
> > I try to troubleshoot a problem where I open a queue
> > with MQOO_INPUT_SHARED
> > and MQOPEN fails and returns reason code
> > MQRC_OBJECT_IN_USE .
> >
> > Configuration: both client and server Win2000,
> > MQSeries 5.2
> > I run my code on MQSeries client, against the remote
> > MQSeries server.
> > First call is ok. Then my process crash, I run it
> > again and now MQOPEN fail.
> >
> > Any ideas what can be the problem ? or how to
> > troubleshoot it ?
> > Thanks, Doron
> >
> >
>_________________________________________________________________
> > Tired of spam? Get advanced junk mail protection
> > with MSN 8.
> > http://join.msn.com/?page=features/junkmail
> >
> > Instructions for managing your mailing list
> > subscription are provided in
> > the Listserv General Users Guide available at
> > http://www.lsoft.com
> > Archive: http://vm.akh-wien.ac.at/MQSeries.archive
> >
> > Instructions for managing your mailing list
> > subscription are provided in
> > the Listserv General Users Guide available at
> > http://www.lsoft.com
> > Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>
>Instructions for managing your mailing list subscription are provided in
>the Listserv General Users Guide available at http://www.lsoft.com
>Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>
>
>This communication, including attachments, is for the exclusive use of
>addressee and may contain proprietary, confidential or privileged
>information. If you are not the intended recipient, any use, copying,
>disclosure, dissemination or distribution is strictly prohibited. If
>you are not the intended recipient, please notify the sender
>immediately by return email and delete this communication and destroy all
>copies.
>
>Instructions for managing your mailing list subscription are provided in
>the Listserv General Users Guide available at http://www.lsoft.com
>Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>
>Any views expressed in this message are those of the individual sender, and
>T-Systems South Africa (Pty) Ltd accepts no liability therefore, except
>where the sender specifically states them to be those of T-Systems South
>Africa (Pty) Ltd.  Although this message has been scanned for the possible
>presence of computer viruses prior to despatch, T-Systems South Africa
>(Pty) Ltd cannot be held responsible for any viruses or other material
>transmitted with, or as part of, this message.
>
>Instructions for managing your mailing list subscription are provided in
>the Listserv General Users Guide available at http://www.lsoft.com
>Archive: http://vm.akh-wien.ac.at/MQSeries.archive

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Any views expressed in this message are those of the individual sender, and T-Systems 
South Africa (Pty) Ltd accepts no liability therefore, except where the sender 
specifically states them to be those of T-Systems South Africa (Pty) Ltd.  Although 
this message has been scanned for the possible presence of computer viruses prior to 
despatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for any viruses 
or other material transmitted with, or as part of, this message.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to