Is there a possibility to track Java Heap Space from an RTC external Server/Service?
We are setting up an ALM Environment based on RTC and JAZZ.
From our IT we got the recommendation to track Java Heap used per Server with our inhouse Monitoring and Reporting Tools, to be able to provide comparable Reports for all used Server and Applications in our Company.
For other Apps we required the Definition of a separate Account to connect on a defined Port:
mks.java.additional.44=-Dcom.sun.management.jmxremote.port=3333
mks.java.additional.45=-Dcom.sun.management.jmxremote.ssl=false
mks.java.additional.46=-Dcom.sun.management.jmxremote.authenticate=true
mks.java.additional.47=-Dcom.sun.management.jmxremote.local.only=false
combined with a Password File that contain required Account an Password.
# Password File for Remote JMX Monitoring
##############################################################
#
# Password file for Remote JMX API access to monitoring. This
# file defines the different roles and their passwords. The access
# control file (jmxremote.access by default) defines the allowed
# access for each role. To be functional, a role must have an entry
# in both the password and the access files.
#
# Default location of this file is $JRE/lib/management/jmxremote.password
# You can specify an alternate location by specifying a property in
# the management config file $JRE/lib/management/management.properties
# or by specifying a system property (See that file for details).
# In a typical installation, this file can be read by anybody on the
# local machine, and possibly by people on other machines.
# For # security, you should either restrict the access to this file,
# or specify another, less accessible file in the management config file
# as described above.
#
# Following are two commented-out entries. The "measureRole" role has
# password "QED". The "controlRole" role has password "R&D".
#
# monitorRole QED
# controlRole R&D
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 22 '20, 1:00 p.m.I fail to figure what the exact question is. You might want to check https://jazz.net/wiki/bin/view/Deployment/DeploymentMonitoring .
Klaus Hoppe
Sep 23 '20, 2:52 a.m.Nevertheless it provides "only" an internal Monitoring, but afaik no possibility to get data accessed from an Jazz-external Toolframe.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 23 '20, 2:58 a.m.The page I linked explains the usage of JMX beans. Java and the application server you use also provide JMX beans to provide the information you ask for. I think it is documented to some extent on that page. Otherwise you would have to look it up in the documentation of said products.