[
https://issues.jboss.org/browse/AS7-3347?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry edited comment on AS7-3347 at 2/6/12 11:31 PM:
----------------------------------------------------------------
Try:
[standalone@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 above 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.
was (Author: brian.stansberry):
Try:
[standalone@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@localhost:9999 /] ls /subsystem=datasources/jdbc-driver
h2
[standalone@localhost:9999 /] deploy /usr/share/java/postgresql-jdbc3.jar
[standalone@localhost:9999 /] ls /subsystem=datasources/jdbc-driver
h2
[standalone@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