Feedback
Did this article resolve your question/issue?

   

Article

How can memory statistics of the AdminServer be viewed using Jconsole?

Information

 
TitleHow can memory statistics of the AdminServer be viewed using Jconsole?
URL NameP162753
Article Number000177696
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x
OS: All Supported Operating Systems
Other: JConsole
Question/Problem Description
How can memory statistics of the AdminServer be viewed using Jconsole?
How can I view the memory statistics of the AdminServer using Jconsole?
How to configure JConsole to monitor an AdminServer
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Edit the AdminServerPlugins.properties file in $DLC/properties directory and add the following new Plugin Policy Group.
 
Note that the port number used here is arbitrary and does not have to be 5555. 
Choose any port number as long as it is not already being used by another process:
 
  1. Modify the section:  [PluginPolicy.Progress]
  2. Add the following to any jvmargs settings that might already exist.
Example if nothing is defined for the jvmargs (note that this is one long line):

jvmargs=-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=5555
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
 
  1. Restart the AdminServer
  2. Verify that the port is listening, for example:  using the command netstat -na | grep 5555
  3. If jconsole has not been installed then install an appropriate Java Development Kit (jconsole is provided in the JDK)
If the jmxremote port was defined as 5555 and it was running remotely on machine, for example myremotehost1, then the proper jconsole command to connect to it would be:
jconsole myremotehost1:5555
 
This will bring up a GUI interface for jconsole.  It will require a username and password to connect to the AdminServer.
 
JConsole allows data presented in the charts to be saved in a Comma Separated Values (CSV) file.
  1. To save data from a chart, simply right-click on any chart.
  2. Select Save data as...
  3. Specify the file in which the data will be saved.
Data from any of the charts displayed can be saved for any of JConsole's different tabs using this method..
 
Workaround
Notes
For Linux,  in the Adminserverplugins.properties section [PluginPolicy.Progress] add this line Djava.rmi.server.hostname=<hostname or ip>.
If it is local,  use Djava.rmi.server.hostname=localhost or -Djava.rmi.server.hostname=127.0.0.1.

References to Other Documentation:

http://docs.oracle.com/javase/6/docs/technotes/guides/management/jconsole.html

If Webspeed or Application Servers are in use and the intent is to monitor the AdminServer only, place the jmx parameters in the [PluginPolicy.Progress.AdminServer] instead of [PluginPolicy.Progress].
Last Modified Date5/4/2016 11:42 PM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.