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

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Won't Do
    • Major
    • None
    • 8.13
    • Server
    • 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)
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rareddy Ramesh Reddy
              kylinsoong.1214@gmail.com Kylin Soong (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: