book
Article ID: KB0070633
calendar_today
Updated On:
Description
Issue:
Seeing the following Tomcat error message, when soft rebooting the server:
26-May-2023 14:54:45.253 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])
java.net.BindException: Address already in use: JVM_Bind
At this point only a hard reboot, allows customer to restart the server without the error.
Hard rebooting, every time customer see this error is problematic, due to the time and resources required. - How to resolve this issue?
Issue/Introduction
Tomcat - 'Shutdown Port Already in Use' Issue?
Resolution
Resolution:By Changing TOMCAT Port to an unused port will fix this issue.
Cause- the same tomcat shutdown port is already in use by another application.
Follow the installation document for reference:
https://docs.tibco.com/pub/wf-wf/8207.28.0/doc/pdf/TIB_wfwf_8207.28.0_windows_installation.pdf?id=4.
Reference: Tomcat Ports Start from Page no. 92
To resolve it-
1. Go to
server.xml file under "<apache-tomcat>/conf"
2. Change the shutdown port with a new value and make sure the new value is not used by other applications.
3. Clear the browser cache and delete the work and Logs folder from the location C:/ibi/tomcat and restart the tomcat.
Also there is a related query in public form, following is the link:
https://stackoverflow.com/questions/14271828/cannot-start-tomcat-7-server-java-net-bindexception-address-already-in-use