[jboss-jira] [JBoss JIRA] Updated: (AS7-1209) Xa-datasource:add requires a non-empty map "xa-data-source-properties", which is not documented

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Sep 9 20:59:26 EDT 2011


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

Brian Stansberry updated AS7-1209:
----------------------------------

       Assignee: Stefano Maestri  (was: Brian Stansberry)
    Component/s: JCA


> Xa-datasource:add requires a non-empty map "xa-data-source-properties", which is not documented
> -----------------------------------------------------------------------------------------------
>
>                 Key: AS7-1209
>                 URL: https://issues.jboss.org/browse/AS7-1209
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management, JCA
>    Affects Versions: 7.0.0.CR1
>            Reporter: Heiko Rupp
>            Assignee: Stefano Maestri
>
> [domain at localhost:9999 subsystem=datasources] ./xa-data-source=xa-ds:read-operation-description(name=add)
> does not list a (required) property "xa-data-source-properties", but when this is not provided, adding a xa-datasource fails and console shows
> [Server:server-two] 15:25:52,983 WARN  [org.jboss.as.controller] (pool-1-thread-35) Operation ("add") failed - address: ([
> [Server:server-two]     ("subsystem" => "datasources"),
> [Server:server-two]     ("xa-data-source" => "postgres")
> [Server:server-two] ]): java.lang.IllegalArgumentException
> Adding an empty xa-data-source-properties map also makes the :add fail. It only works when this property is present and some (dummy!) values are given.
> 1) the requirement for this xa-da.. should be documented
> 2) it should be optional
> 3) an empty map should be allowed (if no xa-props are needed)

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