JBoss Community

Re: JMX-based monitoring the jbossAS7 database connection pool

created by Daniel Bevenius in JBoss AS7 Development - View the full discussion

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

Start a new discussion in JBoss AS7 Development at Community