[jboss-jira] [JBoss JIRA] (WFLY-2092) Enable and disable feature of console for RA connection definitions and admin objects are broken

Osamu Nagano (JIRA) jira-events at lists.jboss.org
Tue Sep 17 03:10:03 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804902#comment-12804902 ] 

Osamu Nagano commented on WFLY-2092:
------------------------------------

It seems the following part is relevant but not sure.  AS7-3259 seems to have introduced this feature.

https://github.com/jbossas/console/blob/develop/gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/ResourceAdapterPresenter.java#L876
{code}
876:    // https://issues.jboss.org/browse/AS7-3259
877:    public void enOrDisbaleConnection(ResourceAdapter ra, ConnectionDefinition selection) {
878:        ModelNode operation = connectionMetaData.getAddress().asResource(
879:                Baseadress.get(), selectedAdapter, selection.getJndiName());
{code}
                
> Enable and disable feature of console for RA connection definitions and admin objects are broken
> ------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-2092
>                 URL: https://issues.jboss.org/browse/WFLY-2092
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Osamu Nagano
>            Assignee: Heiko Braun
>
> Enable and Disable buttons of [Profile > Resource Adapters > View > Connection Definitions] (and Admin Objects too) send requests with wrong addresses.  It results in an unknown error message with the following contents.
> {noformat}
> Unexpected HTTP response: 500
> Request
> {
>     "address" => [
>         ("subsystem" => "resource-adapters"),
>         ("resource-adapter" => "wmq.jmsra.rar"),
>         ("connection-definitions" => "java:jboss/MQQueueCONNECTIONFACTORY")
>     ],
>     "operation" => "write-attribute",
>     "name" => "enabled",
>     "value" => true
> }
> Response
> Internal Server Error
> {
>     "outcome" => "failed",
>     "failure-description" => "JBAS014807: Management resource '[
>     (\"subsystem\" => \"resource-adapters\"),
>     (\"resource-adapter\" => \"wmq.jmsra.rar\"),
>     (\"connection-definitions\" => \"java:jboss/MQQueueCONNECTIONFACTORY\")
> ]' not found",
>     "rolled-back" => true,
>     "response-headers" => {"process-state" => "reload-required"}
> }
> {noformat}
> Path values of {{connection-definitions}} and {{admin-objects}} are just their names, not JNDI names.

--
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