JBAS014749: Operation handler failed: Service jboss.data-source-config.TestDS is already registered while enabling datasource using CLI command

Solution Unverified - Updated -

Issue

  • We are trying to enable datasource using CLI command but it fails with exception.
  • We have setup SIT and created multiple datasources then copied entire SIT file system to UAT and tried to change Schema name .When we try to enable the datasource we are getting below error .
[domain@127.0.0.1:9990 /] /profile=full/subsystem=datasources/data-source=TestDS:enable()
{
    "outcome" => "failed",
    "result" => undefined,
    "failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",
    "rolled-back" => true,
    "server-groups" => {"full-server-grp" => {"host" => {"master" => {"full-server-1" => {"response" => {
        "outcome" => "failed",
        "failure-description" => "JBAS014749: Operation handler failed: Service jboss.data-source-config.TestDS is already registered",
        "rolled-back" => true
    }}}}}}
}

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content