This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
you can use the JMXConnection(ip,port,username,password) constructor to do that. Almost always, the u/n and p/w are "admin"
Joined: Dec 11, 2008
you meant JMXConnector? but this is for the client side to connect to the server.
i want to change the port number of the server side. when the server is brought up. the default iimplementation of JMX management start the registry on the port number, and i want to see if there is a way to intercept it and use the port number from my config file instead of using the system property from the startup script.