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

JDCB driver :read-resource-description is not updated

XMLWordPrintable

      I.e. it doesn't contain "driver-xa-datasource-class-name" which is part of the resource representation:

       
      [domain@localhost:9999 /] /host=local/server=server-one/subsystem=datasources/jdbc-driver=h2:read-resource            
      {
          "outcome" => "success",
          "result" => {
              "driver-name" => "h2",
              "driver-module-name" => "com.h2database.h2",
              "driver-xa-datasource-class-name" => "org.h2.jdbcx.JdbcDataSource"
          },
          "compensating-operation" => undefined
      }
      
      
      
      [domain@localhost:9999 /] /host=local/server=server-one/subsystem=datasources/jdbc-driver=h2:read-resource-description
      {
          "outcome" => "success",
          "result" => {
              "description" => "A service that makes a JDBC driver available for use in the runtime",
              "head-comment-allowed" => true,
              "tail-comment-allowed" => true,
              "attributes" => {
                  "driver-name" => {
                      "description" => "The symbolic name of this driver used to reference it in the register",
                      "type" => STRING,
                      "required" => true,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "deployment-name" => {
                      "description" => "The name of the deployment unit from which the driver was loaded, if it was loaded from a deployment",
                      "type" => STRING,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "driver-module-name" => {
                      "description" => "The name of the module from which the driver was loaded, if it was loaded from the module path",
                      "type" => STRING,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "module-slot" => {
                      "description" => "The slot of the module from which the driver was loaded, if it was loaded from the module path",
                      "type" => STRING,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "driver-class-name" => {
                      "description" => "The fully qualified class name of the driver's implementation of java.sql.Driver",
                      "type" => STRING,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "driver-major-version" => {
                      "description" => "The driver's major version number",
                      "type" => INT,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "driver-minor-version" => {
                      "description" => "The driver's minor version number",
                      "type" => INT,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "jdbc-compliant" => {
                      "description" => "Whether or not the driver is JDBC compliant",
                      "type" => BOOLEAN,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  }
              }
          },
          "compensating-operation" => undefined
      }
      

              smaestri@redhat.com Stefano Maestri
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: