[jboss-jira] [JBoss JIRA] Created: (AS7-1212) :read-operation-description(name=add) shows pool-name as optional, but deploy without pool-name fail

Heiko Rupp (JIRA) jira-events at lists.jboss.org
Wed Jul 6 11:32:23 EDT 2011


:read-operation-description(name=add) shows pool-name as optional, but deploy without pool-name fail
----------------------------------------------------------------------------------------------------

                 Key: AS7-1212
                 URL: https://issues.jboss.org/browse/AS7-1212
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 7.0.0.CR1
            Reporter: Heiko Rupp
            Assignee: Brian Stansberry


[domain at localhost:9999 subsystem=datasources] ./data-source=java\:jboss\/datasources\/ExampleDS:read-operation-description(name=add)
{
    "outcome" => "success",
    "result" => {
        "operation-name" => "add",
        "description" => "Adds a new data-source",
        "request-properties" => {
....
       "pool-name" => {
                "description" => "Specifies the pool name for the datasource used for management",
                "type" => STRING,
                "required" => false
            },

So the pool-name is optional, but when I deploy a data source without pool name, deployment fails: 

[Server:server-one] 17:26:49,124 ERROR [stderr] (pool-1-thread-42) org.jboss.jca.common.api.validator.ValidateException: IJ010068: Missing required attribute pool-name in org.jboss.jca.common.metadata.ds.DataSourceImpl

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