[jboss-jira] [JBoss JIRA] (WFLY-4050) data-source:enable is broken

Harald Pehl (JIRA) issues at jboss.org
Tue Nov 4 08:56:35 EST 2014


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

Harald Pehl updated WFLY-4050:
------------------------------
    Steps to Reproduce: 
In domain mode

# {{/profile=full/subsystem=datasources/data-source=foo:add(jndi-name=java:jboss/datasources/foo,driver-name=h2,connection-url=jdbc:h2:mem:foo,enabled=false)}}
# {{/profile=full/subsystem=datasources/data-source=foo:enable()\{allow-resource-service-restart=true\}}}
# {{/profile=full/subsystem=datasources/data-source=foo:read-attribute(name=enabled)}} returns false
# {{reload --host=master --restart-servers=true}}
# {{/profile=full/subsystem=datasources/data-source=foo:read-attribute(name=enabled)}} still returns false

  was:
# {{/profile=full/subsystem=datasources/data-source=foo:add(jndi-name=java:jboss/datasources/foo,driver-name=h2,connection-url=jdbc:h2:mem:foo,enabled=false)}}
# {{/profile=full/subsystem=datasources/data-source=foo:enable()\{allow-resource-service-restart=true\}}}
# {{/profile=full/subsystem=datasources/data-source=foo:read-attribute(name=enabled)}} returns false
# {{reload --host=master --restart-servers=true}}
# {{/profile=full/subsystem=datasources/data-source=foo:read-attribute(name=enabled)}} still returns false



> data-source:enable is broken
> ----------------------------
>
>                 Key: WFLY-4050
>                 URL: https://issues.jboss.org/browse/WFLY-4050
>             Project: WildFly
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 8.0.0.Final, 8.1.0.Final, 9.0.0.Alpha1
>            Reporter: Harald Pehl
>            Assignee: Stefano Maestri
>
> Enabling a disabled datasource using the operation {{:enable()}} is broken. It remains disabled. 



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list