[
https://issues.jboss.org/browse/WFLY-5530?page=com.atlassian.jira.plugin....
]
Brian Stansberry commented on WFLY-5530:
----------------------------------------
Support for "enable" and "disable" was dropped except for use on a WF
10 domain controller for managing hosts running hosts running previous versions.
You can control whether a datasource is enabled via setting the "enabled"
attribute via the normal write-attribute operation:
{code}
[standalone@embedded /]
/subsystem=datasources/data-source=ExampleDS:write-attribute(name=enabled,value=false)
{
"outcome" => "success",
"response-headers" => {"process-state" =>
"reload-required"}
}
{code}
Note that now enabling/disabling a datasource requires a reload of the server; it
doesn't take immediate effect.
embed-server .cli script - data source enable no longer work
------------------------------------------------------------
Key: WFLY-5530
URL:
https://issues.jboss.org/browse/WFLY-5530
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 10.0.0.CR2, 10.0.0.CR3
Environment: Linux (at least)
Reporter: Martin Miller
Assignee: Jason Greene
Labels: regression
Attachments: test.cli.txt
First time I report a problem, not sure if the specified the correct components....
Seems like a regression from Version 9; I have a .cli script to configure wildfly using
embed-server, and enabling a datasource doesn't work anymore.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)