[jboss-jira] [JBoss JIRA] (WFLY-6013) Admin Console: cannot update min and max pool sizes for XA data source

The Alchemist (JIRA) issues at jboss.org
Fri Jan 15 15:39:00 EST 2016


The Alchemist created WFLY-6013:
-----------------------------------

             Summary: Admin Console: cannot update min and max pool sizes for XA data source
                 Key: WFLY-6013
                 URL: https://issues.jboss.org/browse/WFLY-6013
             Project: WildFly
          Issue Type: Bug
          Components: Web Console
    Affects Versions: 9.0.2.Final
            Reporter: The Alchemist
            Assignee: Heiko Braun
            Priority: Minor


h2. How to Reproduce

# Start Wildfly
# Create a XA data source  and set min pool size to 1, max pool size to 5
# Refresh your web browser
# Go to the data source you created, and update the min to 10, and max to 50.  You'll get this error:

{code}
Unexpected HTTP response: 500

Request
{
    "operation" => "composite",
    "address" => [],
    "steps" => [
        {
            "address" => [
                ("subsystem" => "datasources"),
                ("xa-data-source" => "java:jboss/datasources/myAuth")
            ],
            "operation" => "write-attribute",
            "name" => "min-pool-size",
            "value" => 10
        },
        {
            "address" => [
                ("subsystem" => "datasources"),
                ("xa-data-source" => "java:jboss/datasources/myAuth")
            ],
            "operation" => "write-attribute",
            "name" => "initial-pool-size",
            "value" => undefined
        },
        {
            "address" => [
                ("subsystem" => "datasources"),
                ("xa-data-source" => "java:jboss/datasources/myAuth")
            ],
            "operation" => "write-attribute",
            "name" => "max-pool-size",
            "value" => 50
        }
    ]
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "result" => {
        "step-1" => {
            "outcome" => "failed",
            "rolled-back" => true
        },
        "step-2" => {
            "outcome" => "failed",
            "failure-description" => "WFLYJCA0045: failed to set attribute: null",
            "rolled-back" => true
        },
        "step-3" => {
            "outcome" => "failed",
            "rolled-back" => true
        }
    },
    "failure-description" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "WFLYJCA0045: failed to set attribute: null"}},
    "rolled-back" => true
}
{code}

Looks like the web console is trying to write the {{initialPoolSize}} attribute too, even though I haven't touched it.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list