Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3866

Incomplete headers should not be accepted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.1.Final
    • 7.1.0.Final
    • CLI

    Description

      Data-source disable operation does not supprt allow-resource-service-restart attribute (as remove does).

      Steps to reproduce:
      [standalone@localhost:9999 /] data-source add --name=TestDS --jndi-name=java:jboss/datasources/TestDS --driver-name=h2 --connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
      [standalone@localhost:9999 /] data-source enable --name=TestDS
      [standalone@localhost:9999 /] /subsystem=datasources/data-source=TestDS:disable

      {allow-resource-service-restart}


      {
      "outcome" => "success",
      "response-headers" =>

      { "operation-requires-restart" => true, "process-state" => "restart-required" }

      }
      [standalone@localhost:9999 /] data-source enable --name=TestDS
      JBAS014749: Operation handler failed: Service jboss.data-source-config.TestDS is already registered
      [standalone@localhost:9999 /]

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            dpospisil Dominik Pospisil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: