You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by James Chang <jc...@hotmail.com> on 2003/01/28 08:08:07 UTC

Help: Why HttpFilterProc and HttpExtensionsProc on 2 different process in isapi_redirector2.dll?

Hi,

       System: windows XP pro, IIS 5.1.   isapi_redirector2.dll is not doing
its job.
        isapi_redirector2.dll from:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
2/bin/win32/

        What happened is, when IIS starts up, it calls dll_Main for all its
threads and calls GetVersion() 1 time, in the function isapi_redirector2.dll
initializes everything and set is_inited to TRUE.  All those happens in one
process (the same process IIS calls HttpFilterProc).

    However when the match is found and the redirector tries to call Tomcat,
IIS calls HttpExtensionProc from ANOTHER process, basically in this process
nothing is initialized (the process id get by GetCurrentProcessId() is
different from the first process).

    Anyone got any ideas?

    Thanks



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>