[jboss-jira] [JBoss JIRA] Closed: (JBMESSAGING-531) ServerPeer destroyTopic()/destroyQueue() must not throw exception on non-existent destinations, but return false.
Ovidiu Feodorov (JIRA)
jira-events at jboss.com
Thu Aug 24 16:42:48 EDT 2006
[ http://jira.jboss.com/jira/browse/JBMESSAGING-531?page=all ]
Ovidiu Feodorov closed JBMESSAGING-531.
---------------------------------------
Resolution: Done
> ServerPeer destroyTopic()/destroyQueue() must not throw exception on non-existent destinations, but return false.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JBMESSAGING-531
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-531
> Project: JBoss Messaging
> Issue Type: Bug
> Components: JMS Facade
> Affects Versions: 1.0.1.CR4
> Reporter: Ovidiu Feodorov
> Assigned To: Ovidiu Feodorov
> Priority: Minor
> Fix For: 1.0.1.CR5
>
>
> TCK porting layer throws:
> 11:53:23,703 ERROR [ExceptionUtil] ServerPeer [server.0] destroyQueue
> javax.management.InstanceNotFoundException: jboss.messaging.destination:service=Queue,name=MY_QUEUE is not registered.
> at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:527)
> at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559)
> at org.jboss.jms.server.ServerPeer.destroyDestination(ServerPeer.java:821)
> at org.jboss.jms.server.ServerPeer.destroyQueue(ServerPeer.java:431)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ....
> when it shouldn't. Even if the exception is harmless, it looks ugly in logs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list