[jboss-as7-dev] Installing a JDBC driver as a deployment

Heiko Braun hbraun at redhat.com
Thu Apr 14 07:58:56 EDT 2011


(Referring to http://community.jboss.org/wiki/DataSourceConfigurationinAS7#Installing_a_JDBC_driver_as_a_deployment)

How is this supposed to work? 
I manage to install the driver as a deployment and then what?
It's not listed as a driver but seems to be installed successfully.


1) deployment of the driver

[localhost:9999 /] deploy /Users/hbraun/Desktop/mysql-connector-java-5.1.6.jar 
undefined

[localhost:9999 /] deploy /Users/hbraun/Desktop/mysql-connector-java-5.1.6.jar                       
'mysql-connector-java-5.1.6.jar' is already deployed (use -f to force re-deploy).


2) check installed driver

[localhost:9999 /] /profile=default/subsystem=datasources:read-children-names(child-type=jdbc-driver)
{
    "outcome" => "success",
    "result" => ["com.h2database.h2"],
    "compensating-operation" => undefined
}







More information about the jboss-as7-dev mailing list