[jboss-jira] [JBoss JIRA] (AS7-3349) Data-source add allows adding data sources with non existing JDBC driver

Dominik Pospisil (JIRA) jira-events at lists.jboss.org
Wed Jan 18 06:34:19 EST 2012


Dominik Pospisil created AS7-3349:
-------------------------------------

             Summary: Data-source add allows adding data sources with non existing JDBC driver
                 Key: AS7-3349
                 URL: https://issues.jboss.org/browse/AS7-3349
             Project: Application Server 7
          Issue Type: Bug
          Components: CLI, Domain Management
    Affects Versions: 7.1.0.Final
            Reporter: Dominik Pospisil
            Assignee: Alexey Loubyansky


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 at localhost:9999 /] ls /subsystem=datasources/data-source      
ExampleDS
[standalone at localhost:9999 /] data-source add --jndi-name=java:/TestDS  --connection-url=jdbc:postgresql://localhost/test --driver-name=NON_EXISTING_DRIVER
[standalone at localhost:9999 /] ls /subsystem=datasources/data-source                                                                                        
ExampleDS      java:/TestDS
[standalone at localhost:9999 /] 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list