Enterprise Manager fails to start. [ERROR] [Manager.EMWebServer] The web server was unable to bind to a port.
search cancel

Enterprise Manager fails to start. [ERROR] [Manager.EMWebServer] The web server was unable to bind to a port.

book

Article ID: 48447

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

[ERROR] [Manager.EMWebServer] The web server was unable to bind to a port.

Environment

Release:
Component: APMISP

Resolution

[ERROR] [Manager.EMWebServer] The web server was unable to bind to a port.

This could be caused by another EM process binding to the same port.

Exception: Address already in use: JVM_Bind

By default, in the IntroscopeEnterpriseManager.properties file, the webserver port is set to 8081:

 #######################       
 # EM Web Server Settings 
 #
 # ================
 # Controls configuration of the embedded web server;
 # The port that the web server listens on 

introscope.enterprisemanager.webserver.port=8081

As the error indicates, port 8081 is already in use. Use

   netstat -an

to determine if another process is using the webserver port of 8081.

Note that the netstat command varies slightly from O/S to O/S. If you are having trouble getting meaningful output from netstat, please consult the documentation for netstat for your operating system.

  • If you discover that another process is using the webserver port, and is a process you do not need, stop that process and restart the EM.
  • Otherwise, change the web server port to an unused port on your server and restart the EM.