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 » cleanup for unused Subscription

Post new topic  Reply to topic
 cleanup for unused Subscription « View previous topic :: View next topic » 
Author Message
ralu
PostPosted: Thu Jul 07, 2005 11:10 pm    Post subject: cleanup for unused Subscription Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 26
Location: Switzerland

hello,

i have a distributed Pub/Sup System.

QM1 with running Pub/Sub Broker . QM10-QM18 with JMS Subscriber applications connected via bind (MQ Server<-> MQ Server).

By starting cleanup on the QM10-QM18 i get the following error:
cleanup -m QM10 save
Exception in thread "main" java.io.UnsupportedEncodingException: Cp850
at sun.io.Converters.getConverterClass(Unknown Source)
at sun.io.Converters.newConverter(Unknown Source)
at sun.io.CharToByteConverter.getConverter(Unknown Source)
at sun.nio.cs.StreamEncoder$ConverterSE.<init>(Unknown Source)
at sun.nio.cs.StreamEncoder$ConverterSE.<init>(Unknown Source)
at sun.nio.cs.StreamEncoder.forOutputStreamWriter(Unknown Source)
at java.io.OutputStreamWriter.<init>(Unknown Source)
at com.ibm.mq.jms.Cleanup.main(Cleanup.java:601)

On QM1 there ist no problem with it.

Is there any help for me.
Thanks for advice
Back to top
View user's profile Send private message
ralu
PostPosted: Fri Jul 08, 2005 3:11 am    Post subject: Re: cleanup for unused Subscription Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 26
Location: Switzerland

I fixed it.
It was a class problem.

Now cleanup is running well, but the Message in the Subscriber Queue still increases.

Any ideas

Thanks
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Jul 08, 2005 4:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I'd guess that you registered some durable subscribers who aren't picking up their messages. They should have probably been non-durable. Check out the dumpbroker and unsubscribe programs at:

http://www.developer.ibm.com/isv/tech/sampmq.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ralu
PostPosted: Fri Jul 08, 2005 5:20 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 26
Location: Switzerland

bower5932 wrote:
I'd guess that you registered some durable subscribers who aren't picking up their messages. They should have probably been non-durable. Check out the dumpbroker and unsubscribe programs at:

http://www.developer.ibm.com/isv/tech/sampmq.html


There are no durable subscribers (saw it with amqspsd) and cleanup didn't deleted the entries.

I'll try it with unsubscribe

Thanks
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Jul 08, 2005 1:40 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The unsubscribe probably isn't going to do you any good. My guess is that you have an active non-durable subscriber who isn't picking up messages. I'd go look at the queue that is filling up and see if you can find out who it is.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ralu
PostPosted: Sat Jul 09, 2005 3:44 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 26
Location: Switzerland

Thanks for your help.
I found the problem.

-> Someone runs the application with another user than defined.
-> The application crashes.
-> Logout the wrong user and login the right user
-> the right user is not able to unsubscribe the wrong user subscriptions and the tool cleanup also can´t do it
-> I stopped all applications endmqbrk, dltmqbrk, strmqbrk

Is it possible for the user under whom the broker runs to unsubscribe the wrong subscriptions with the Java tool java.unsubscribe ?

I´ll try it on Monday

ralu
Back to top
View user's profile Send private message
ralu
PostPosted: Tue Jul 12, 2005 11:29 pm    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 26
Location: Switzerland

it's running well with the tool unsubscribe.java

Thanks
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 » General IBM MQ Support » cleanup for unused Subscription
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.