Hide Forgot
Affects: Release Notes Date of First Response: 2010-02-16 20:15:45 project_key: SOA When I delete an esb archive using the JON console, the associated queues are still available, displayed as DOWN. When I try to clean up and delete these queues I get this failure: java.lang.IllegalStateException: Failed to find [ComponentType{type=JMSDestination, subtype=Queue}] ManagedComponent named [/queue/quickstart_helloworld_zip_Request_gw]. at org.rhq.plugins.jbossas5.ManagedComponentComponent.getManagedComponent(ManagedComponentComponent.java:367) at org.rhq.plugins.jbossas5.ManagedComponentComponent.deleteResource(ManagedComponentComponent.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Not sure if this is a JON (as5 plugin) issue, since JON should remove stuff when I ask for it, or if it is an ESB plugin issue, since removing an esb archive should also remove all the esb's queues (deployed as part of the removed esb).
Hey David, can you add this to the release notes?
Affects: Added: [Release Notes]
Here is the draft text for the Release Notes: https://jira.jboss.org/jira/browse/SOA-1916 When you try to delete an ESB archive using the JON Console, the associated queues are not removed. They remain there, displaying as DOWN. Furthermore, if you try to delete these queues, an java.lang.IllegalStateException exception will occur.
Sounds good! Verified here: http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/5.0.0/html-single/Release_Notes/#id-release_notes-known_issues
Release notes are fine but this is still an open issue and should be fixed in the future.
Hey Tom, is this an esb plugin issue? When we remove an esb archive using JON, should the corresponding JMS queues be removed as well?
I think that whatever plugin deletes a queue is assuming that components will clean up their queues. I'm not sure how we'd know what the relationship is between queue/ESB is within the plugin code though. Seems like a more generalized problem with queue deletion - if I manually remove a queue, then do I see a failure as well when I try to delete it out of JON? Might be a problem with the jboss-as-5 plugin.
This issue depends on this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=569751
Assigning to Charles, since the corresponding bugzilla is an eap plugin issue.
Link: Added: This issue related SOA-2345
Out of date.