You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/10/03 09:20:53 UTC

[Bug 62798] New: Apache failed to initialize connector

https://bz.apache.org/bugzilla/show_bug.cgi?id=62798

            Bug ID: 62798
           Summary: Apache failed to initialize connector
           Product: Tomcat 8
           Version: 8.5.31
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: gael.reynoard@lafon.fr
  Target Milestone: ----

Created attachment 36188
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36188&action=edit
Catalina log

Hello,
On a test bench, I perform Windows restart tests to test one of our C#
applications.
Sometimes my Tomcat server can not initialize because the 8080 or 8009 port
would already be used.
I changed the default port 8080 by 9999 and I had the same error after several
reboots.

I check with the NETSTAT -atonb -p TCP command and I have Tomcat that is
listening to port 8080 (or 9999) and port 8009

In the log the problem occurred on:
- 02-Oct-2018 03: 16: 41.364 (port 8080 and 8009)
NETSTAT Result:
    TCP    0.0.0.0:8009    0.0.0.0:0    LISTENING    2640
    [Tomcat8.exe]
    TCP    0.0.0.0:8080    0.0.0.0:0    LISTENING    2640
    [Tomcat8.exe]

- 02-Oct-2018 10: 27: 16.722 (port 8080)
NETSTAT Result:
    TCP    0.0.0.0:8009    0.0.0.0:0    LISTENING    2828
    [Tomcat8.exe]
    TCP    0.0.0.0:8080    0.0.0.0:0    LISTENING    2828
    [Tomcat8.exe]

- 02-Oct-2018 12: 20: 38.289 (port 9999)
NETSTAT Result:
    TCP    0.0.0.0:8009    0.0.0.0:0    LISTENING    2780
    [Tomcat8.exe]
    TCP    0.0.0.0:9999    0.0.0.0:0    LISTENING    2780
    [Tomcat8.exe]

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 62798] Apache failed to initialize connector

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62798

--- Comment #4 from Gaël REYNOARD <ga...@lafon.fr> ---
Thank you for your reply
I opened a message on the User list and I continue to do tests on my side to
try to understand why I have this exception.

What bothers me in this error is the fact that NETSTAT systematically returns
me that the port which is already used, it is used by Tomcat8 itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 62798] Apache failed to initialize connector

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62798

--- Comment #2 from Gaël REYNOARD <ga...@lafon.fr> ---
(In reply to Mark Thomas from comment #1)
> Tomcat has not been shutdown fully. Either because enough time has not been
> allowed for the shutdown process to complete or because a bug in a web
> application is preventing Tomcat from shutting down.
> 
> Please use the users list if you require further assistance.

Ok

But how is it possible that Tomcat was not completely stopped because I do not
just stop the Tomcat service. I always reboot my operating system.
And it's during the startup of Windows that I have sometimes this error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 62798] Apache failed to initialize connector

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62798

--- Comment #3 from Remy Maucherat <re...@apache.org> ---
Maybe it's a bug somewhere in your situation, but given the exception is
"Caused by: java.net.BindException: Address already in use: bind", it's
supposed to be a port already bound and we won't take any further action. You
can continue to investigate on the user list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 62798] Apache failed to initialize connector

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62798

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Tomcat has not been shutdown fully. Either because enough time has not been
allowed for the shutdown process to complete or because a bug in a web
application is preventing Tomcat from shutting down.

Please use the users list if you require further assistance.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org