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 » WebSphere Message Broker (ACE) Support » Object not closed

Post new topic  Reply to topic
 Object not closed « View previous topic :: View next topic » 
Author Message
ethirajesh
PostPosted: Wed Dec 08, 2010 2:01 am    Post subject: Object not closed Reply with quote

Apprentice

Joined: 04 Oct 2010
Posts: 46

Hi,

After putting a message manually into a local Queue, the Open input count keeps on showing as '1' for a very long time. What could be the possible reason for this. When I try to put another message it is not put into that queue. I cannot delete the object as the connection is still open.

Regards
Rajesh E
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Dec 08, 2010 3:41 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Quote:
After putting a message manually into a local Queue, the Open input count keeps on showing as '1' for a very long time. What could be the possible reason for this.


was the input count 0 before you put? then an application was triggered, opened the queue and processed your message. otherwise the application was already running before you put the message.

the application seems to be designed to stay alive keeping the queue open waiting for more messages.

Quote:
When I try to put another message it is not put into that queue.


why not? did you receive an error? what do you expect? queue depth increasing while there is an application waiting for messages to arrive on the queue? i assume, the put went fine (if there was no error) and the message was consumed.

Quote:
I cannot delete the object as the connection is still open.


correct.

find out about the application behaviour, how it is coded, how it was started, when it will end. then let us know what you are trying to archieve (not clear to me) and what your problem really is.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Dec 08, 2010 6:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

To further detail Mr. Butcher's points, an Output count greater than zero will not prevent any other messaging application from placing a message in that queue. It is not a "lock", it is merely a counter for MQ Output streams.

Output counts greater than zero WILL prevent you from deleting that queue. But why would you want to delete the queue?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Wed Dec 08, 2010 7:33 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

lancelotlinc wrote:

Output counts greater than zero WILL prevent you from deleting that queue. But why would you want to delete the queue?


Perhaps it is a temporary queue?
Perhaps he spelt the name wrong? (twice, one in the sender and once in the 'getter' application)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Dec 08, 2010 7:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Would a temp queue automatically be cleaned up by the QMGR once all the counts go to zero?

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzal.doc/fg11020_.htm

"They are deleted when the application that issued the MQOPEN call that created the queue closes the queue or terminates. "
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Wed Dec 08, 2010 9:30 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

lancelotlinc wrote:
Would a temp queue automatically be cleaned up by the QMGR once all the counts go to zero?


Quote possibly. However I wasn't thinking about them. I was really thinking about all those 'business temporary' queues that you often see littering a Queue Manager. Artifacts left behind from some long discarded project.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
ethirajesh
PostPosted: Fri Dec 10, 2010 3:49 am    Post subject: Resolved Reply with quote

Apprentice

Joined: 04 Oct 2010
Posts: 46

Hi Guys,

I found what was the problem, Thanks to MR. Butcher and everyone for making it clear.

1) The openInput Count was zero as The message flow in MB was running and this queue was the Input Queue.

2) The messages put by me was not processed by MB, and by mistake I did not mention the Backout Requeue name for tha Input Queue.

3) Now I created the backout Queue and mentioned it in Backout Requeue property of Input Queue.

Thanks all
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Object not closed
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.