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 Discussion » Forcing Clean

Post new topic  Reply to topic
 Forcing Clean « View previous topic :: View next topic » 
Author Message
leitao
PostPosted: Mon May 30, 2005 6:13 am    Post subject: Forcing Clean Reply with quote

Novice

Joined: 23 May 2005
Posts: 22
Location: Campinas - São Paulo - Brasil

Hello,
i want to clear my local Queue, and i have some doubts.
The first one, can i force the mq to remove the queue. Cause when i try to remove the queue and there is someone connected to there (IPPROCS) it says the object is in use. So i need to stop websphere to clear the queue.
Another doubt, when i try to clean the queue, i got the following message:

DISPLAY QSTATUS(STARTPROCESS)
10 : DISPLAY QSTATUS(STARTPROCESS)
AMQ8450: Display queue status details.
QUEUE(STARTPROCESS) IPPROCS(0)
OPPROCS(0) CURDEPTH(10)
UNCOM(YES)
CLEAR QLOCAL(STARTPROCESS)
11 : CLEAR QLOCAL(STARTPROCESS)
AMQ8143: WebSphere MQ queue not empty.
DISPLAY QSTATUS(STARTPROCESS)
12 : DISPLAY QSTATUS(STARTPROCESS)
AMQ8450: Display queue status details.
QUEUE(STARTPROCESS) IPPROCS(0)
OPPROCS(0) CURDEPTH(10)
UNCOM(YES)

why it doesnt remove the messages in the queue?

Thank you
Breno
_________________
Breno Henrique Leitão
CPqD IT & Telecom
Back to top
View user's profile Send private message MSN Messenger
leitao
PostPosted: Mon May 30, 2005 6:36 am    Post subject: Reply with quote

Novice

Joined: 23 May 2005
Posts: 22
Location: Campinas - São Paulo - Brasil

need i to rollback this before cleaning the queue?
_________________
Breno Henrique Leitão
CPqD IT & Telecom
Back to top
View user's profile Send private message MSN Messenger
sebastianhirt
PostPosted: Mon May 30, 2005 8:02 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Hi,

As long as the messages are not commited you won't be able to delete them.
So, yes, you need to Rollback or Commit them before you can delete them.

cheers

Sebastian
Back to top
View user's profile Send private message
leitao
PostPosted: Mon May 30, 2005 8:04 am    Post subject: Reply with quote

Novice

Joined: 23 May 2005
Posts: 22
Location: Campinas - São Paulo - Brasil

But how can i force a rollback? My application that filled the queue is dead, so i have an uncommited queue, and no one to commit or rollback. is there any command that i rollback the queue?

Thanks
_________________
Breno Henrique Leitão
CPqD IT & Telecom
Back to top
View user's profile Send private message MSN Messenger
sebastianhirt
PostPosted: Mon May 30, 2005 8:31 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Sorry, but no idea... Try MO71. Maybe this allows you to delete the uncommited messages.
Is there still an instance of your application hanging half dead around somewhere?
Back to top
View user's profile Send private message
leitao
PostPosted: Mon May 30, 2005 8:33 am    Post subject: Reply with quote

Novice

Joined: 23 May 2005
Posts: 22
Location: Campinas - São Paulo - Brasil

Sorry, what is MO71??
No, i closed all my listener pointed to the queue.
_________________
Breno Henrique Leitão
CPqD IT & Telecom
Back to top
View user's profile Send private message MSN Messenger
sebastianhirt
PostPosted: Mon May 30, 2005 8:56 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

MO71 is a free supportpack from IBM. Very powerfull. It allows you to remote administrate your queue manager. You might want to try it out.

Here is the link to the IBM Support packs

http://www-306.ibm.com/software/integration/support/supportpacs/
Back to top
View user's profile Send private message
leitao
PostPosted: Mon May 30, 2005 8:58 am    Post subject: Reply with quote

Novice

Joined: 23 May 2005
Posts: 22
Location: Campinas - São Paulo - Brasil

Sure, i got it.. Seems cool, but it is complaining about a mqm.dll.. argh. I don't have any mq on my windows machine. it is in the linux one.. i am trying to get it. BTW, it appears to be a front end only, no other feature that runmqsc QM should do. am i correct?


Thanks
Breno
_________________
Breno Henrique Leitão
CPqD IT & Telecom
Back to top
View user's profile Send private message MSN Messenger
sebastianhirt
PostPosted: Mon May 30, 2005 9:05 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

MO 71 is able to do all to your qm that runmqsc could do. Plus some additional features, like deleting single messages from queues, moving/copying messages etc. You should read the manual carefully...
The MQ Client might also do the deal...
Back to top
View user's profile Send private message
leitao
PostPosted: Mon May 30, 2005 9:06 am    Post subject: Reply with quote

Novice

Joined: 23 May 2005
Posts: 22
Location: Campinas - São Paulo - Brasil

Ok.
Thanks sebastianhirt.

[]'s Breno
_________________
Breno Henrique Leitão
CPqD IT & Telecom
Back to top
View user's profile Send private message MSN Messenger
fjb_saper
PostPosted: Mon May 30, 2005 10:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

look as well to the amq* programs. I believe there is one that will allow you to look at and manipulate transactions. They will either be in the regular directory or in the samples directory.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Forcing Clean
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.