Unable To Start Epagent, process stops
search cancel

Unable To Start Epagent, process stops


Article ID: 276581


Updated On:


CA Application Performance Management (APM / Wily / Introscope)


We deployed the Infrastructure Agent Release 2023.3.0.5 (Build 990005) on a version 11 Layer 7 appliance this is to facilitate Precision API Monitoring 3.4.

 When trying to start it, it stops with the following exception in the logs:

[ERROR] [IntroscopeAgent.EPAgent] Failed to Create Network Server
[DEBUG] [IntroscopeAgent.EPAgent] NetworkServer():
java.net.BindException: Address already in use

[ERROR] [IntroscopeAgent.InfrastructureAgent] Agent failed to start because: Cannot invoke "com.wily.introscope.epagent.NetworkServer.start()" because "this.fNetworkServer" is null
java.lang.NullPointerException: Cannot invoke "com.wily.introscope.epagent.NetworkServer.start()" because "this.fNetworkServer" is null
at com.wily.introscope.agent.epa.EPAPluginRunner.start(EPAPluginRunner.java:150)



Stack trace is referencing "com.wily.introscope.epagent.NetworkServer.start()" which is the introscope.epagent.config.networkDataPort setting in <apmia_home>/extensions/apim/bundle.properties

The port configured was in use by another process.  

Changing the port number resolved the issue