Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3519 Produce a wildfly kit
  3. TEIID-3834

Error during (re) adding connection factory using CLI

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 8.13
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None

      Description

      enable datasource command

      /subsystem=datasources/data-source=h2:enable
      

      seems redundant, cause datasource add already enable it, so if execute setup.cli

      ./bin/jboss-cli.sh --connect --file=setup.cli
      

      will cause a eror

      {
          "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)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rareddy Ramesh Reddy
                  Reporter:
                  kylin Kylin Soong
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: