[jboss-jira] [JBoss JIRA] (AS7-3347) JDBC drivers installed via deployment not shown in the management model
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Mon Feb 6 23:32:48 EST 2012
[ https://issues.jboss.org/browse/AS7-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664674#comment-12664674 ]
Brian Stansberry commented on AS7-3347:
---------------------------------------
Try:
[standalone at localhost:9999 /] /subsystem=datasources:installed-drivers-list
{
"outcome" => "success",
"result" => [{
"driver-name" => "h2",
"deployment-name" => undefined,
"driver-module-name" => "com.h2database.h2",
"module-slot" => "main",
"driver-datasource-class-name" => "",
"driver-xa-datasource-class-name" => "org.h2.jdbcx.JdbcDataSource",
"driver-class-name" => "org.h2.Driver",
"driver-major-version" => 1,
"driver-minor-version" => 3,
"jdbc-compliant" => true
}]
}
The example below doesn't have a deployed driver included in the output because the system doesn't have such a driver deployed. But if you had one it should show up as another entry in the list.
> JDBC drivers installed via deployment not shown in the management model
> -----------------------------------------------------------------------
>
> Key: AS7-3347
> URL: https://issues.jboss.org/browse/AS7-3347
> Project: Application Server 7
> Issue Type: Bug
> Components: CLI, Domain Management
> Affects Versions: 7.1.0.Final
> Reporter: Dominik Pospisil
> Assignee: Alexey Loubyansky
> Labels: eap6_prd_req
> Fix For: 7.1.1.Final
>
>
> JDBC drivers installed via deployment are not shown in the management model. I am not quite sure if this is intended or not but I see this as serious usability issue. How is the user supposed to quess the driver name installed via deployment to be able to manage data sources using this driver?
> [standalone at localhost:9999 /] ls /subsystem=datasources/jdbc-driver
> h2
> [standalone at localhost:9999 /] deploy /usr/share/java/postgresql-jdbc3.jar
> [standalone at localhost:9999 /] ls /subsystem=datasources/jdbc-driver
> h2
> [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