I have noticed strange errors in my catalina log in tomcat which appear
after each server startup.
These don’t look pretty, but I have not noticed any specific issues so
far, apart from the errors themselves:
*SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize
end point associated with ProtocolHandler
[“http-nio-8888”]java.net.BindException: Address already in use: bindSEVERE
[main] org.apache.catalina.core.StandardService.initInternal Failed to
initialize connector [Connector[HTTP/1.1-8888]]Caused by:
org.apache.catalina.LifecycleException: Protocol handler initialization
failedCaused by: java.net.BindException: Address already in use: bindand so
on… *I am running the latest stable Lucee on IIS 7 and could see this
happening on my install of Lucee on Tomcat 7 / Java 1.7 and after upgrading
to Tomcat 8/ Java 1.8 also.
I thought something else might be blocking the port and runned: netstat -nao | findstr “:8888”
Is the error preventing you from running Lucee properly? Are the errors recent - IE: a current issue that happens regularly and not something that has happened in the past?
-Jordan----- Original Message -----
From: “Ivan Rotrekl” <@Ivan_Rotrekl>
To: “Lucee” lucee@googlegroups.com
Sent: Thursday, September 3, 2015 4:10:50 AM
Subject: [Lucee] Errors in catalina log - address already in use: bind
Hi,
I have noticed strange errors in my catalina log in tomcat which appear
after each server startup.
These don’t look pretty, but I have not noticed any specific issues so
far, apart from the errors themselves:
*SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize
end point associated with ProtocolHandler
[“http-nio-8888”]java.net.BindException: Address already in use: bindSEVERE
[main] org.apache.catalina.core.StandardService.initInternal Failed to
initialize connector [Connector[HTTP/1.1-8888]]Caused by:
org.apache.catalina.LifecycleException: Protocol handler initialization
failedCaused by: java.net.BindException: Address already in use: bindand so
on… *I am running the latest stable Lucee on IIS 7 and could see this
happening on my install of Lucee on Tomcat 7 / Java 1.7 and after upgrading
to Tomcat 8/ Java 1.8 also.
I thought something else might be blocking the port and runned: netstat -nao | findstr “:8888”
The info is just f.y.i, it has been there for years even on ACF.
The APR based Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path
If you really want to remove the entry from the log-files, try following
this thread:
It seems that you are able to add 1 dll file to the bin-folder, restart and
it should be gone.
I have not personally tested it, but please go ahead in a test environment.
–DavidOn Thursday, September 3, 2015 at 9:50:15 PM UTC+2, Ivan Rotrekl wrote:
Hi Jordan,
thanks for response. Well, I have seen this error in the log on my dev
machine as well as the production sever, for as long as I can remember. I
could not attribute any issue to it, so I did not care much. Recently I
have re-installed Lucee to upgrade tomcat and jvm and was surprised to see
it still there, so I became bit more curious. Looks like something is
misconfigured in tomcat or java ?
Similarly, I can see in the log after each restart this info:
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
So I was wondering: Is this library something which should be installed
and could be useful for Lucee ?
thanks for response. Well, I have seen this error in the log on my dev
machine as well as the production sever, for as long as I can remember. I
could not attribute any issue to it, so I did not care much. Recently I
have re-installed Lucee to upgrade tomcat and jvm and was surprised to see
it still there, so I became bit more curious. Looks like something is
misconfigured in tomcat or java ?
Similarly, I can see in the log after each restart this info:
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
So I was wondering: Is this library something which should be installed and
could be useful for Lucee ?
thanks ! I have tried to follow your advice and I have found out that
this library is actually already included in Lucee installer and exists in
the tomcat/bin folder.
There are 2 files: * tcnative-1-win32.dll* and* tcnative-1-win64.dll*.
One of these just has to be choosen and renamed back to * tcnative-1.dll*
and it gets loaded.