https://issues.apache.org/bugzilla/show_bug.cgi?id=51905

             Bug #: 51905
           Summary: Infinite loop when shutting down AprEndpoint
           Product: Tomcat 6
           Version: 6.0.33
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: knst.koli...@gmail.com
    Classification: Unclassified


If unlocking the acceptor during AprEndpoint shutdown fails, it enters an
infinite loop, printing endpoint.warn.unlockAcceptorFailed message
(Acceptor thread [{0}] failed to unlock. Forcing hard socket shutdown.)

It was reported on users@ mailing lists,
http://tomcat.markmail.org/thread/xo2jolyr44ijuu34

It might be caused by a firewall preventing Tomcat from connecting to its own
HTTP port.

I can reproduce it if I turn the unlockAccept() method in endpoint into an noop
(e.g. by adding "if(true){ return; }"), both in 6.0 and in trunk. In 6.0 this
bug was introduced in r1065945 and affects 6.0.32 and 6.0.33.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to