[jboss-dev-forums] [JBoss AS7 Development] - Re: JMX-based monitoring the jbossAS7 database connection pool

Daniel Bevenius do-not-reply at jboss.com
Thu Oct 13 07:26:55 EDT 2011


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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111013/04d0bfca/attachment.html 


More information about the jboss-dev-forums mailing list