LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080 | Community
Skip to main content
david--garcia
Level 10
July 3, 2017

LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080

  • July 3, 2017
  • 1 reply
  • 3093 views

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.

  1. SEVERE: StandardServer.await: create[8005]:
  2. 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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

florentlb
Level 10
July 3, 2017

Hi David,

Please open a ticket to support to have this investigated quickly. Please give as many details as possible so your request can be addressed as soon as possible.

Thanks,

Florent

david--garcia
Level 10
July 3, 2017

Hi Florent

I've raised it couple of weeks ago

TK119025

florentlb
Level 10
July 3, 2017

Hi David,

Thanks for sharing this. I asked the support team to let us know the status of the issue. I'll share more details as soon as I get an answer.

Florent.