-
1. Re: Cannot unsubscribe durable subscriber
clebert.suconic Mar 8, 2013 10:39 AM (in response to jmbestof)You won't be able to drop a subscription until you close consumers...
I'm not sure why the HOrnetQEXception is giving you a marshing exception though... Maybe it's the version you're using only?
-
2. Re: Cannot unsubscribe durable subscriber
jmesnil Mar 8, 2013 12:03 PM (in response to jmbestof)1 of 1 people found this helpfulJM Bestof wrote:
$>run dropDurableSubscription "my.durable.subscriber" "my-hostname"
#calling operation dropDurableSubscription of mbean org.hornetq:module=JMS,name="userEvents",type=Topic
#RuntimeMBeanException: java.lang.IllegalArgumentException: No subscriptions with name my\.durable\.subscriber.my-hostname" for clientID my.durable.subscriber
Thanks for your helpI did a quick check on the latest release (HornetQ 2.3.0.CR1) by adding a '.'. to the clientID and it worked as expected.
I'll check on 2.2.x releases too but I suspect it'a bug that has already been fixed.
JM Bestof wrote:
$>run dropAllSubscriptions
#calling operation dropAllSubscriptions of mbean org.hornetq:module=JMS,name="userEvents",type=Topic
#RuntimeIOException: Runtime IO exception: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: org/hornetq/api/core/HornetQException (no security manager: RMI class loader disabled
iirc, the hornet jms client jar forgot to ship this class in the 2.2.x releases. Adding it to your classpath won't fix your problem: it will report the same error than you get above.
-
3. Re: Cannot unsubscribe durable subscriber
jmbestof Mar 8, 2013 12:18 PM (in response to clebert.suconic)Hy Clebert,
just checked, all my consumers are closed, still got the pb.
thanks!
J
-
4. Re: Cannot unsubscribe durable subscriber
brisssou Mar 8, 2013 12:28 PM (in response to jmesnil)Hi Jeff,
thanks for investigating my pb! I will check if and when we can upgrade to a newer version.
bye,
Julien.
Brice, the anti-flood by-passer :p
-
5. Re: Cannot unsubscribe durable subscriber
jmbestof Apr 16, 2013 5:24 AM (in response to brisssou)Hi all,
finally we managed to drop the durable subscriber with jconsole: 'dropAllSubscribers()'
thanks for your help,
Julien.