[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
Tue Jan 31 04:05:49 EST 2012
[ https://issues.jboss.org/browse/AS7-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefano Maestri reopened AS7-3349:
----------------------------------
Reconsidering it because it can be error prone for user.
What I'm going to do is to add validation when user is adding ds from console (IOW forcing to add or deploy driver before create the DS). Note that there isn't this kind of validation when DSes are defined in xml, but a dependency is created waiting for driver deployment/creation to start the DS.
> 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