Daniel Bevenius [
http://community.jboss.org/people/beve] created the discussion
"Re: JMX-based monitoring the jbossAS7 database connection pool"
To view the discussion, visit:
http://community.jboss.org/message/631544#631544
--------------------------------------------------------------
Hi,
+ModelNode address = op.get("address");+
+address.add("subsystem", "datasources");+
+address.add("datasource", "jndi-name");+
If you change the value of the string "jndi-name" to the name of the
datasource I think it should work. For example:
ModelNode address = op.get("address");
address.add("subsystem", "datasources");
address.add("datasource", "MyDS");
Regards,
/Daniel
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/631544#631544]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]