-
1. Re: Deleting then recreating a topic
stephanenicoll Sep 26, 2003 4:23 AM (in response to red_one)You cannot delete a Destination if you have active connections (i.e. clients) on it.
Use search, someone asked that question last week
Regards,
Stephane -
2. Re: Deleting then recreating a topic
red_one Sep 27, 2003 1:48 AM (in response to red_one)then why
a) does it say 16:16:24,508 INFO [Fred] Destroyed
b) does "Fred" not appear in the jboss.mq.destination list in the jmx-console? -
3. Re: Deleting then recreating a topic
stephanenicoll Sep 27, 2003 5:15 AM (in response to red_one)Excellent question. I am just reacting to the stack trace you provided us, that is
16:16:24,506 ERROR [Fred] Destroying failed
javax.jms.JMSException: The destination is being used.
at org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestinationManager.java:804)
16:19:23,628 INFO [Fred] Starting
16:19:23,628 ERROR [Fred] Starting failed
javax.jms.JMSException: This destination has allready been added to the server!
Regarding your questions:
1/ I am sorry but the line below is:
16:16:24,506 ERROR [Fred] Destroying failed
2/ The destination is in an incosistent state, that is it has been unregister from the JMX domain but must probably it should still exists (again I cannot guess with part of the logs)
Howerver, this might be a potential bug (the fact the destination has been removed from the jboss.mq.destination domain while still existing).
Adrian might have more info regarding this, I am not part of the JBoss team.
Regards,
Stephane -
4. Re: Deleting then recreating a topic
red_one Sep 27, 2003 7:26 AM (in response to red_one)Yeah, I know it says "ERROR [Fred] Destroying failed"
but after the stacktrace it says..
"INFO [Fred] Destroyed"
So which is it? -
5. Re: Deleting then recreating a topic
stephanenicoll Sep 28, 2003 11:52 AM (in response to red_one)It's destroying failed. I think there might be a potential bug here. Open a ticket on sourceforge.
Regards,
Stephane -
6. Re: Deleting then recreating a topic
adrian.brock Sep 30, 2003 1:55 AM (in response to red_one)Undeploying the topic won't help.
Sure you will loose non-persistent messages,
but the persistent ones are still on disk.
There is a removeAllMessages on the topic mbean
Regards,
Adrian