Step 1) fails with a DC error:
[Host Controller] 14:04:01,577 ERROR [org.jboss.as.controller] (pool-1-thread-19)
operation ("deploy") failed - address: ([("deployment" =>
"mysql-connector-java-5.1.6.jar")]): java.lang.IllegalStateException: No handler
for deploy at address [("deployment" =>
"mysql-connector-java-5.1.6.jar")]
Although it exists as a deployment later on:
[localhost:9999 /]:read-children-names(child-type=deployment)
){
"outcome" => "success",
"result" => [
"demo-application.war",
"mysql-connector-java-5.1.6.jar"
],
"compensating-operation" => undefined
}
Ike
On Apr 14, 2011, at 1:58 PM, Heiko Braun wrote:
(Referring to
http://community.jboss.org/wiki/DataSourceConfigurationinAS7#Installing_a...)
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
}
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev