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

            Bug ID: 58813
           Summary: Incoming requests hang after a website using the ISAPI
                    connector is restarted
           Product: Tomcat Connectors
           Version: 1.2.33
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: isapi
          Assignee: dev@tomcat.apache.org
          Reporter: matthewrei...@hotmail.com

OS: Windows Server 2012 R2 Standard

If isapi_redirect.dll is configured at the website level (rather than
globally), when the website is restarted using IIS Manager, the ISAPI
redirector is restarted, too. At this point any further HTTP requests will hang
until IIS is restarted.

I've traced the problem back to this commit:
commit 2f209a0d25e379b7cb29a9aad74dd71a95471ae5
Author: Mladen Turk <mt...@apache.org>
Date:   Tue Mar 6 12:21:02 2012 +0000

    Use global mutex instead critical section so that multiple instance don't
in
it at once in case IIS starts multiple processes

    git-svn-id: https://svn.apache.org/repos/asf/tomcat/jk/trunk@1297439
13f7953
5-47bb-0310-9956-ffa450edef68

:040000 040000 ac36df68c573630431521b9d616e18234029109c
040c8ea72fdcaedbe0b058c0
596a2448a505d768 M      native

In TerminateFilter (in jk_isapi_plugin.c), ReleaseMutex is being called with
the address of the init_cs variable rather than its value, causing init_cs to
never be released. As a result, when GetExtensionVersion is subsequently
called, it is unable to acquire init_cs and so the plugin never finishes
initializing. I was able to confirm that removing the extra "&" fixes the
problem.

-- 
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