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

Some JNDI names prevent disabling datasources

    Details

      Description

      It seems that certain JNDI names cause errors:

      14:25:22,365 WARN [org.jboss.as.controller] (HttpManagementService-threads - 2) Operation ("disable") failed - address: ([
      ("subsystem" => "datasources"),
      ("data-source" => "mysql")
      ]): org.jboss.as.controller.OperationFailedException [ "Data-source service [mysql] is not available" ]

      The datasource in question has a JNDI name with slash:
      [standalone@localhost:9999 /] /subsystem=datasources/data-source=mysql2:read-attribute(name=jndi-name)

      { "outcome" => "success", "result" => "jdbc/mysql2" }

      [standalone@localhost:9999 /] /subsystem=datasources/data-source=mysql2:disable

      { "outcome" => "failed", "failure-description" => "Data-source service [mysql2] is not available", "rolled-back" => true }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                heiko.braun Heiko Braun
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: