Connector Xpress 2.0 (CX2.0) fails to initialize properly. After starting the application as administrator and initializing MongoDB, the Tomcat service starts but terminates almost immediately.
Error logs indicate that required ports are already in use, preventing the service from remaining active.
Catalina log from the Tomcat logs folder shows the following error:
SEVERE [main] org.apache.catalina.core.StandardServer.await Failed to create server shutdown socket on address [localhost] and port [8005] (base port [8005] and offset [0])
A port conflict exists on TCP port 8005. This port serves as the default Apache Tomcat shutdown port. On certain Windows environments, this port is occupied by system processes or other services (such as SMS Agent Host), which prevents Connector Xpress 2.0 from binding to the port during startup.
Change the Tomcat shutdown port to an available port number to resolve the conflict.
\tomcat\conf\server.xml.server.xml in a text editor.<Server port="8005" shutdown="SHUTDOWN">.netstat -aon | findstr 8006 in a command prompt.8005 to the identified empty port.server.xml.