Enable/disable datasource operations are deprecated in the JBoss EAP 7.2

Solution Verified - Updated -


The following warning message is showed, what is the recommendation to solve the warning?

[standalone@localhost:9990 /] /subsystem=datasources/data-source=ExampleDS:enable()
    "outcome" => "success",
    "response-headers" => {"warnings" => [{
        "warning" => "WFLYCTL0449: Operation enable against the resource at address /subsystem=datasources/data-source=ExampleDS is deprecated, and it might b
e removed in future version. See the the output of the read-operation-description operation to learn more about the deprecation.",
        "level" => "WARNING",
        "operation" => {
            "address" => [
                ("subsystem" => "datasources"),
                ("data-source" => "ExampleDS")
            "operation" => "enable"


Red Hat JBoss Enterprise Application Platform (EAP) 7.2 CP03

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In