[jboss-jira] [JBoss JIRA] (AS7-2567) datasource add with enabled=true doesn't enable datasource

Stefano Maestri (Assigned) (JIRA) jira-events at lists.jboss.org
Mon Nov 14 09:27:40 EST 2011


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

Stefano Maestri reassigned AS7-2567:
------------------------------------

    Assignee: Alexey Loubyansky  (was: Stefano Maestri)


It's something discussed here http://lists.jboss.org/pipermail/jboss-as7-dev/2011-October/004202.html. What I can eventually do is to throw an error if the enabled parameter is passed as true. BTW enabled patrameter ha already been removed operation description for "add".
In a nutshell ds are always added as disabled and have to be enabled using the "enable" operation. I've explained a bit further reason in original ML message and also here: http://community.jboss.org/message/636422#636422.
Maybe you would like to hide this double operation in data-source script
                
> datasource add with enabled=true doesn't enable datasource
> ----------------------------------------------------------
>
>                 Key: AS7-2567
>                 URL: https://issues.jboss.org/browse/AS7-2567
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management, JCA
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Nicklas Karlsson
>            Assignee: Alexey Loubyansky
>
> a datasource:add operation with the enabled attribute set to true creates a disabled datasource

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list