[jboss-user] [JBoss Messaging] - can not unsubscribe durable subscriber in jboss-messaging 1.

hzfzl9 do-not-reply at jboss.com
Thu Jun 5 18:04:50 EDT 2008


When my program tries to unsubscribe its durable subscriber, it throws errors:

javax.jms.IllegalStateException: Cannot unsubscribe durable subscription esssub since it has active subscribers
        at org.jboss.jms.server.endpoint.ServerSessionEndpoint.unsubscribe(ServerSessionEndpoint.java:796)
        at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$unsubscribe$aop(SessionAdvised.java:135)
        at org.jboss.jms.server.endpoint.advised.SessionAdvised$unsubscribe_8775578479443985821.invokeNext(SessionAdvised$unsubscribe_8775578479443985821.java)
        at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
        at org.jboss.jms.server.endpoint.advised.SessionAdvised$unsubscribe_8775578479443985821.invokeNext(SessionAdvised$unsubscribe_8775578479443985821.java)
        at org.jboss.jms.server.endpoint.advised.SessionAdvised.unsubscribe(SessionAdvised.java)
        at org.jboss.jms.wireformat.SessionUnsubscribeRequest.serverInvoke(SessionUnsubscribeRequest.java:74)
        at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795)
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
14:47:37,932 ERROR [ExceptionUtil] SessionEndpoint[9-k95qv3hf-1-e89nv3hf-bm7xkn-100j3] unsubscribe [c-07dqv3hf-1-e89nv3hf-bm7xkn-100j3]

please help.  Thanks.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156127#4156127

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156127



More information about the jboss-user mailing list