[jboss-jira] [JBoss JIRA] (WFLY-1492) Admin Console does not handle resource adapter address properly

Jason Greene (JIRA) issues at jboss.org
Sun Dec 22 01:01:32 EST 2013


     [ https://issues.jboss.org/browse/WFLY-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated WFLY-1492:
-------------------------------

    Fix Version/s: 8.0.0.Final
                       (was: 8.0.0.CR1)

    
> Admin Console does not handle resource adapter address properly
> ---------------------------------------------------------------
>
>                 Key: WFLY-1492
>                 URL: https://issues.jboss.org/browse/WFLY-1492
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 8.0.0.Alpha1
>            Reporter: Bartosz Baranowski
>            Assignee: Bartosz Baranowski
>             Fix For: 8.0.0.Final
>
>
> console seems to handle RA entities in a a bad way. Not sure if this is by design and I am the one missing something.
> In case of anonymous declaration( as per JCA specs ? ):
> <resource-adapters>
>     <resource-adapter>
>        <archive>test</archive>
>        <transaction-support>NoTransaction</transaction-support>
>    </resource-adapter>
> </resource-adapters>
> Name of adapter( in model ) is set to to "test" - archive name. However if there are more adapters, model names become:
> /subsystem=resource-adapters/resource-adapter=test
> /subsystem=resource-adapters/resource-adapter=test->1
> /subsystem=resource-adapters/resource-adapter=test->2
> ...
> /subsystem=resource-adapters/resource-adapter=test->n++
> Now, there is another trick. AS supports custom "ID":
> <resource-adapters>
>     <resource-adapter id="XXX">
>        <archive>test</archive>
>        <transaction-support>NoTransaction</transaction-support>
>    </resource-adapter>
> </resource-adapters>
> In this case the model address is "/subsystem=resource-adapters/resource-adapter=XXX".
> In case of second definition, console keeps displaying RA as "test" - since its the archive name. In case of definition with ID or one with '->#' this fails, since console depends on "getArchive()":
> https://github.com/hal/core/blob/master/gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/ResourceAdapterPresenter.java#L411
> This affects WFLY and all previous release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list