duan xz [
http://community.jboss.org/people/duanxz] created the discussion
"Re: JMX-based monitoring the jbossAS7 database connection pool"
To view the discussion, visit:
http://community.jboss.org/message/631718#631718
--------------------------------------------------------------
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
[
http://community.jboss.org/message/631718#631718]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]