[teiid-issues] [JBoss JIRA] (TEIID-3834) Error during (re) adding connection factory using CLI

Steven Hawkins (JIRA) issues at jboss.org
Fri Jun 24 15:35:00 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257017#comment-13257017 ] 

Steven Hawkins commented on TEIID-3834:
---------------------------------------

Captured again for WildFly 10.

> 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}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list