Bug 779539 (SOA-1916) - JON console - user can not univentory/delete queues associated with an deleted esb archive
Summary: JON console - user can not univentory/delete queues associated with an delete...
Keywords:
Status: CLOSED WONTFIX
Alias: SOA-1916
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Monitoring and Management, JON
Version: 5.0.0 ER8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: FUTURE
Assignee: Charles Crouch
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-03 14:35 UTC by Jaroslaw Kijanowski
Modified: 2015-02-01 23:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-31 16:38:29 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 779985 0 high NEW ESB plugin issue - deleting an .esb archive through the JON console does not remove the associated queues from JON conso... 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-1916 0 None Closed JON console - user can not univentory/delete queues associated with an deleted esb archive 2012-01-31 16:35:53 UTC

Internal Links: 779985

Description Jaroslaw Kijanowski 2010-02-03 14:35:13 UTC
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).

Comment 1 Jaroslaw Kijanowski 2010-02-16 22:02:58 UTC
Hey David, can you add this to the release notes?

Comment 2 Jaroslaw Kijanowski 2010-02-16 22:02:58 UTC
Affects: Added: [Release Notes]


Comment 3 David Le Sage 2010-02-17 01:15:45 UTC
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.


Comment 5 Jaroslaw Kijanowski 2010-02-19 07:46:53 UTC
Release notes are fine but this is still an open issue and should be fixed in the future.

Comment 6 Jaroslaw Kijanowski 2010-02-19 08:07:51 UTC
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?

Comment 7 tcunning 2010-02-19 14:05:31 UTC
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.

Comment 8 Jaroslaw Kijanowski 2010-03-16 07:52:14 UTC
This issue depends on this bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=569751

Comment 9 Jaroslaw Kijanowski 2010-04-13 09:44:05 UTC
Assigning to Charles, since the corresponding bugzilla is an eap plugin issue.

Comment 11 Len DiMaggio 2010-09-24 17:00:00 UTC
Link: Added: This issue related SOA-2345


Comment 13 Anne-Louise Tangring 2012-01-31 16:38:29 UTC
Out of date.


Note You need to log in before you can comment on or make changes to this bug.