]
Steven Hawkins commented on TEIID-3834:
---------------------------------------
Yes Steve that is known. There have been multiple avenues that we've tried to get the
upstream behavior changed, but no luck so far.
Error during (re) adding connection factory using CLI
-----------------------------------------------------
Key: TEIID-3834
URL:
https://issues.jboss.org/browse/TEIID-3834
Project: Teiid
Issue Type: Sub-task
Components: Server
Affects Versions: 8.13
Reporter: Kylin Soong
Assignee: Ramesh Reddy
enable datasource command
{code}
/subsystem=datasources/data-source=h2:enable
{code}
seems redundant, cause datasource add already enable it, so if execute setup.cli
{code}
./bin/jboss-cli.sh --connect --file=setup.cli
{code}
will cause a eror
{code}
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source-config.h2 is
already registered",
"rolled-back" => true
}
14:35:55,436 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 9) WFLYCTL0013: Operation ("enable") failed -
address: ([
("subsystem" => "datasources"),
("data-source" => "h2")
]): org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source-config.h2
is already registered
at
org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158)
{code}