[jboss-user] Re: can not unsubscribe durable subscriber in jboss-messaging 1.
samk at twinix.com
samk at twinix.com
Fri Oct 3 10:35:58 EDT 2008
See Thread at: http://www.techienuggets.com/Detail?tx=39229 Posted on behalf of a User
Try subscriber.close() before unsubscribe.
In Response To:
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.
More information about the jboss-user
mailing list