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

Data-source add allows adding data sources with non existing JDBC driver

    XMLWordPrintable

Details

    Description

      Data-source add allows adding data sources with non existing JDBC driver. The data-source add command should warn / prevent user from doing such thing.

      [standalone@localhost:9999 /] ls /subsystem=datasources/data-source
      ExampleDS
      [standalone@localhost:9999 /] data-source add --jndi-name=java:/TestDS --connection-url=jdbc:postgresql://localhost/test --driver-name=NON_EXISTING_DRIVER
      [standalone@localhost:9999 /] ls /subsystem=datasources/data-source
      ExampleDS java:/TestDS
      [standalone@localhost:9999 /]

      Attachments

        Issue Links

          Activity

            People

              smaestri@redhat.com Stefano Maestri
              dpospisil Dominik Pospisil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: