[jboss-jira] [JBoss JIRA] Commented: (AS7-719) En/Disable datasource returns error although state change is applied

Heiko Braun (JIRA) jira-events at lists.jboss.org
Mon May 9 08:22:18 EDT 2011


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

Heiko Braun commented on AS7-719:
---------------------------------

This is what I get on a recent master:


Request
{
    "operation" => "disable",
    "address" => [
        ("profile" => "default"),
        ("subsystem" => "datasources"),
        ("xa-data-source" => "java:/H2XADS")
    ],
    "child-type" => undefined
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "result" => {"server-groups" => {"main-server-group" => {
        "server-one" => {
            "host" => "local",
            "response" => {
                "outcome" => "failed",
                "failure-description" => "Data-source service [java:/H2XADS] is not available"
            }
        },
        "server-two" => {
            "host" => "local",
            "response" => {
                "outcome" => "failed",
                "failure-description" => "Data-source service [java:/H2XADS] is not available"
            }
        }
    }}},
    "failure-description" => "Operation was not applied successfully to any servers"
}

> En/Disable datasource returns error although state change is applied
> --------------------------------------------------------------------
>
>                 Key: AS7-719
>                 URL: https://issues.jboss.org/browse/AS7-719
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Heiko Braun
>            Assignee: Stefano Maestri
>             Fix For: 7.0.0.CR1
>
>
> [domain at localhost:9999 /] /profile=default/subsystem=datasources/data-source=myDS:enable   
> {
>     "outcome" => "failed",
>     "result" => {"server-groups" => {"main-server-group" => {
>         "server-two" => {
>             "host" => "local",
>             "response" => {
>                 "outcome" => "failed",
>                 "failure-description" => [("java.util.NoSuchElementException" => "No child 'myDS' exists")]
>             }
>         },
>         "server-one" => {
>             "host" => "local",
>             "response" => {
>                 "outcome" => "failed",
>                 "failure-description" => [("java.util.NoSuchElementException" => "No child 'myDS' exists")]
>             }
>         }
>     }}},
>     "failure-description" => "Operation was not applied successfully to any servers"
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list