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

RH Bugzilla Integration (JIRA) issues at jboss.org
Tue Feb 16 13:40:00 EST 2016


     [ https://issues.jboss.org/browse/TEIID-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated TEIID-3834:
-------------------------------------------
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1309067
        Bugzilla Update: Perform


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



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


More information about the teiid-issues mailing list