Bug 1110403 - (6.4.0) Resource-adapter with same archive names gives incorrect information on admin console
Summary: (6.4.0) Resource-adapter with same archive names gives incorrect information ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Console
Version: 6.3.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: DR4
: EAP 6.4.0
Assignee: Harald Pehl
QA Contact: Pavel Jelinek
URL:
Whiteboard:
Depends On:
Blocks: 1150438
TreeView+ depends on / blocked
 
Reported: 2014-06-17 14:52 UTC by Herambh
Modified: 2019-08-19 12:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1150438 (view as bug list)
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Resource-adapter rar (6.56 MB, application/x-rar)
2014-06-17 14:52 UTC, Herambh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker HAL-430 0 Major Resolved Resource-adapter with same archive names gives incorrect information on admin console 2016-05-11 17:04:08 UTC

Description Herambh 2014-06-17 14:52:10 UTC
Created attachment 909628 [details]
Resource-adapter rar

Description of problem:

Resource-adapter with same archive names create issues.

when attempting to view information about them in the admin console, we cannot view information about the second one because they are seemingly referenced in the admin console by archive name rather than the name of the resource adapter itself.

Version-Release number of selected component (if applicable):


Steps to Reproduce:

When we add two resource-adapters with the same archive

--------------------------------------------------------------------------------

/subsystem=resource-adapters/resource-adapter=MQ:add(archive=wmq.jmsra.rar)

/subsystem=resource-adapters/resource-adapter=wmq.jmsra.rar:add(archive=wmq.jmsra.rar,transaction-support=XATransaction)
--------------------------------------------------------------------------------

when attempting to view information about them in the admin console, we cannot view information about the second one because they are seemingly referenced in the admin console by archive name rather than the name of the resource adapter itself.


To reproduce this, add the following two destinations:

--------------------------------------------------------------------------------
/subsystem=resource-adapters/resource-adapter=MQ/admin-objects=jms-mqtest1:add(\
    class-name=com.ibm.mq.connector.outbound.MQQueueProxy,\
    jndi-name="java:/jms/TEST1",\
    use-java-context=true\
)

/subsystem=resource-adapters/resource-adapter=wmq.jmsra.rar/admin-objects=jms-mqtest2:add(\
    class-name=com.ibm.mq.connector.outbound.MQQueueProxy,\
    jndi-name="java:/jms/TEST2",\
    use-java-context=true\
)
--------------------------------------------------------------------------------and try to view each of the admin objects in the admin-console:

subsystems->connector->resource adapters->wmq.jmsra.rar (pick one or the other)->view->admin objects

We will not be able to view one of the admin objects, and the other will show up incorrectly under both resource adapters.

Comment 1 JBoss JIRA Server 2014-06-29 19:58:36 UTC
Harald Pehl <hpehl> updated the status of jira HAL-430 to Coding In Progress

Comment 2 JBoss JIRA Server 2014-06-29 21:33:58 UTC
Harald Pehl <hpehl> updated the status of jira HAL-430 to Resolved

Comment 4 Jakub Cechacek 2014-10-20 13:39:56 UTC
Verified 6.4.0.DR5

Comment 5 Phil Festoso 2014-10-30 14:53:32 UTC
Will the fix be available for 6.3? Customer who reported the defect is requesting it. Thanks.

Comment 6 Jakub Cechacek 2014-10-30 15:33:53 UTC
BZ1150438 is a backport of this issue for 6.3.z


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