The error message explains it.
You have active subscribers - you need to close them first, as per JMS spec.
even though I close the subscribers from the Client program, the JBoss Messaging server still throws error messages.
Here are the steps:
whatelse do i miss? thanks for your response.
You probably have another Consumer somewhere else on the same subscription.
I don't believe there is a bug on this, but if you found an edge condition, please create a testcase replicating the problem and we will take a look.