5 Replies Latest reply on Apr 16, 2013 5:24 AM by JM Bestof

    Cannot unsubscribe   durable subscriber

    JM Bestof Newbie

      Hi all,

      I have a durable subsciber with dots in the clientId:

      object name:

      org.hornetq:module=Core,type=Queue,address="jms.topic.userEvents",name="my.durable.subscriber.my-hostname"

       

      I cannot delete this durable subsciber, neither in jconsole, nor though jmxterm. I suspect the dots to be escaped when I run the commands, but don't manage to find any woraround.

       

      $>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


       

      This subscription is the only one on the topic, so I tried to delete all subscription, but got:

       

      $>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)

      Thanks for your help