]
Ramesh Reddy resolved TEIID-3834.
---------------------------------
Resolution: Won't Fix
Based on the WildFly teams responses there is not much to be done to accommodate this.
When Designer starts supporting WildFly this will be an ISSUE.
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
Fix For: 9.0
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}