This content has been marked as final.
Show 1 reply
-
1. Re: cli command db test connection fails
rajweb2011 Dec 12, 2016 11:55 AM (in response to rajweb2011)1 of 1 people found this helpfulResolved its syntax error after replacing \"jdbc/mytesti/av/tps/mydb\" its working fine now from shell script
./jboss-cli.sh --controller=myserver:9999 --connect --user=admin --password=**** -c "/host=host1/server=server1/subsystem=datasources/data-source=\"jdbc/mytesti/av/tps/mydb\":test-connection-in-pool"
{
"outcome" => "success",
"result" => [true]
}