LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080
This is for Neolane v6.0.2 b6836
I am currently facing an issue with one of our environment whereby the services try to restart but the web (apache tomcat) service is hanging and not restarting. This is causing 8080 port to be locked to that hanged web service and Catalina is throwing up errors. When this happens we have to manually kill the process or net stop nlserver6.
What can we do in this case? here is the complete log [Java] java.net.BindException: Address already in use: JVM_Bind <nu - Pastebin.com
Why is the service not restarting? upon some investigation, I think is because requests are still being processed.
- SEVERE: StandardServer.await: create[8005]:
- java.net.BindException: Address already in use: JVM_Bind
SEVERE: The web application [/nl] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation.
Tomcat has a property that can be configured to give what ever process is running more time for requests to be finished (like a delay) using the unloadDelay property but I dont want to go down this route.