Social Icons

twitterfacebookgoogle pluslinkedinrss feedemail


Monday, February 25, 2013

Testing a datasource on JBoss 7.1.1 in domain mode

I'm trying to test a deployed datasource in JBoss 7.1.1 in a domain configuration.

No info found around help in doing this job, also the web console is not working as expected (I also use TEIID 8.2 and probably the new web console mangled up a few things) and surely having a domain installation does not help things up.

All the things found around suggest to use this command


Being in a domain mode I do not have /subsystem so I tryed to get the subsystem from somewhere.

Getting it from profile ...


But the result are below and are not the expected

"outcome" => "failed",
"failure-description" => "JBAS010850: No handler for operation test-connection-in-pool at address [
(\"profile\" => \"ha\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"reportsDS\")
"rolled-back" => true

So I tryed with the following (that is logical since the previous was issued on a definition (profile) and not something truly running) against the host/server


This time the result is successful

"outcome" => "success",
"result" => [true]

If needed by anyone.

1 commenti:

Karina Macedo said...

Thank you!!!