Author |
Message
|
ralu |
Posted: Thu Jul 07, 2005 11:10 pm Post subject: cleanup for unused Subscription |
|
|
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 |
|
 |
ralu |
Posted: Fri Jul 08, 2005 3:11 am Post subject: Re: cleanup for unused Subscription |
|
|
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 |
|
 |
bower5932 |
Posted: Fri Jul 08, 2005 4:22 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
ralu |
Posted: Fri Jul 08, 2005 5:20 am Post subject: |
|
|
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 |
|
 |
bower5932 |
Posted: Fri Jul 08, 2005 1:40 pm Post subject: |
|
|
 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 |
|
 |
ralu |
Posted: Sat Jul 09, 2005 3:44 am Post subject: |
|
|
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 |
|
 |
ralu |
Posted: Tue Jul 12, 2005 11:29 pm Post subject: |
|
|
Apprentice
Joined: 17 Nov 2004 Posts: 26 Location: Switzerland
|
it's running well with the tool unsubscribe.java
Thanks |
|
Back to top |
|
 |
|