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.