Health center port issue on startup in 602
On startup , returned to the console screen we see:
[root@jazz server]# ./server.startup
May 12, 2016 8:44:00 AM com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean <init>INFO: Agent version "3.0.7.20160104"May 12, 2016 8:44:01 AM com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean createJMXConnectorINFO: IIOP will be listening on the next available system assigned port. Use com.ibm.java.diagnostics.healthcenter.agent.iiop.port to specify a portMay 12, 2016 8:44:01 AM com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean startAgentINFO: Health Center agent started on port 1972.Starting server clm.Server clm started with process ID 56229.
**************
Looking at the console.log it shows:
In console.log get
May 12, 2016 8:44:01 AM com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean <init>
INFO: Agent version "3.0.7.20160104"May 12, 2016 8:44:01 AM com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean createJMXConnectorWARNING: Failed to create RMI registry on port 1972: java.rmi.server.ExportException: Port already in use: 1972; nested exception is: java.net.BindException: Address already in useMay 12, 2016 8:44:01 AM com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean createJMXConnectorINFO: IIOP will be listening on the next available system assigned port. Use com.ibm.java.diagnostics.healthcenter.agent.iiop.port to specify a portMay 12, 2016 8:44:01 AM com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean startAgentINFO: Health Center agent started on port 1973.
*********************
No issue there until you look at the lqe and ldx logs:
2016-09-21 12:09:55,900 [ Default Executor-thread-56] ERROR com.ibm.
team.jis.lqe.health.load.LoadMonitor - Unable to connect to IBM
Health Center at jazz.navcanada.ca on port 1,972
2016-09-21 12:10:05,928 [ lqe.LoadMonitor-thread-0] WARN com.ibm.
team.jis.lqe.health.load.LoadMonitor - Unable to gather all
performance metrics. Please install and enable IBM Health Center in the
JVM. If you are running Tomcat, you will need to add the following JVM
options to the startup script. "-agentlib:healthcenter -Dcom.ibm.java.
diagnostics.healthcenter.agent.port=1972"
*************************************************
Has anyone else had this issue? Where is the port defined as I can't find in in any properties file?
2 answers
set HEALTHCENTER_OPTS=-agentlib:healthcenter -Dcom.ibm.java.diagnostics.healthcenter.agent.port=1972The funny thing is, it seems that I always have such problem on Windows, but never on Linux.
Comments
Thanks for point out the file defining the port.
Have you experienced the agent port issue in v6? I've raised a PMR to clarify what the issue is. I have 3 different instances of JAZZ setup and all report the same. All apps installed and started as root using Liberty. On initial start-up returned to the terminal it states is started on 1972. A few seconds later in the console.log it reports 1972 in use and restarted on 1973. Once lde and ldx startup they complain can't find the agent on 1972.
In a brief discussion with a IBM rep on this, he stated that this is used with the Health Monitoring system , a separate app install. We have not used or set this up so what gives?
Indeed it is for the Health Center tool, which is part of the IBM Java toolkit, not specific to CLM. You can find more details here:
https://www.ibm.com/developerworks/java/jdk/tools/
http://www.ibm.com/support/knowledgecenter/SS3KLZ/com.ibm.java.diagnostics.healthcenter.doc/topics/enablingagent.html
LQE and LDX can report the "health" or performance level of each node, so chances are they are actually using this port.