]
Ramesh Reddy updated TEIID-3834:
--------------------------------
Component/s: Server
(was: Quick Starts)
Error during (re) adding connection factory using CLI
-----------------------------------------------------
Key: TEIID-3834
URL:
https://issues.jboss.org/browse/TEIID-3834
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 8.13
Reporter: Kylin Soong
Assignee: Van Halbert
Fix For: 8.13
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}