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

Stefano Maestri (JIRA) jira-events at lists.jboss.org
Mon Jan 30 11:08:48 EST 2012


    [ https://issues.jboss.org/browse/AS7-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662781#comment-12662781 ] 

Stefano Maestri commented on AS7-3349:
--------------------------------------

It's arguable, because until the datasource hasn't enabled driver can be add. IOW you could add the datasource, then deploy the driver and finally enable the datasource and everything will work.
For sure it's happening during parse, so I'm rejecting this issue.
                
> 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: Stefano Maestri
>              Labels: eap6-ux
>             Fix For: 7.1.1.Final
>
>
> 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