JBoss Community

Re: JMX-based monitoring the jbossAS7 database connection pool

created by duan xz in JBoss AS7 Development - View the full discussion

hi,Daniel

Thanks for you tips and help.

 

Now i have another two things not understand.

first:in ModelControllerClient client = factory.create(InetAddress.getByName("192.0.0.204"), 9999);

     The IP address "192.0.0.204" how to get it from JbossAS7 system?

second:

I saw some demo like this:

====================================

ModelNode address = op.get("address");
address.add("subsystem", "datasources");

address.add("profile", "default");

address.add("datasource", "MyDS");

====================================

address.add("profile", "default"); this seems to be used in mode domain management,when use in standalone mode  will generate an error.

How can the two modes at the same time to use it???

 

Could you please help me with this usage.

 

Thanks a lot,

 

Regards

 

duanxz


 



Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community