locked
Windows 2008, IIS, Tomcat ISAPI redirector, all on x64 RRS feed

  • Question

  • User986062102 posted

     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link href="file:///C:%5CDOCUME%7E1%5CGARETH%7E1.FLA%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C02%5Cclip_filelist.xml" rel="File-List"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} h2 {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; mso-outline-level:2; font-size:18.0pt; font-family:"Times New Roman";} h3 {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; mso-outline-level:3; font-size:13.5pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]-->

    Like many others, I’m trying to get the Tomcat ISAPI redirector to work with IIS 7 on an AMD 64 bit Windows Server 2008.  I think I’ve read most of the issues that people have had out there, and I’m fairly confident that I’ve set everything up correctly.

    <o:p> </o:p>

    I’m posting here because this thread:

    <o:p> </o:p>

    http://forums.iis.net/t/1138519.aspx?PageIndex=1

    <o:p> </o:p>

    seems to be the closest one to the problem I’m having.

    <o:p> </o:p>

    I’m using 64-bit Java, with the 64-bit JK adaptor.  I tried using the 32-bit one with the compatibility mode, as some people had found to work, but that did not work for me.  Ultimately, the “best” case I have is this error:

    <o:p> </o:p>

    HTTP Error 500.0 - Internal Server Error<o:p></o:p>

    Calling GetFilterVersion on ISAPI filter "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll" failed<o:p></o:p>

    <fieldset> <legend> Detailed Error Information </legend>  <o:p></o:p>

     

    <!--[if !supportMisalignedColumns]--> <!--[endif]-->

    Module<o:p></o:p>

    IIS Web Core<o:p></o:p>

    Notification<o:p></o:p>

    Unknown<o:p></o:p>

    Handler<o:p></o:p>

    StaticFile<o:p></o:p>

    Error Code<o:p></o:p>

    0x80070002<o:p></o:p>

    Requested URL<o:p></o:p>

    http://localhost:80/jakarta/examples<o:p></o:p>

    Physical Path<o:p></o:p>

    D:\apache-tomcat-6.0.20\ISAPI\examples<o:p></o:p>

    Logon Method<o:p></o:p>

    Not yet determined<o:p></o:p>

    Logon User<o:p></o:p>

    Not yet determined<o:p></o:p>

    <o:p> </o:p>

    </fieldset>

    and Anil Ruia on the abovementioned thread suggested that this might be connected with this not being a filter - although all the times I've succesfully got it running (on other platforms) I have treated it as such - and that turning on gflags might give me some information.  I got information, but I have no idea what to do with it.

    <o:p> </o:p>

    At the risk of overwhelming with too much information, I have tried to cut this as little as possible (below).  If anyone can enlighten me as to what I'm doing wrong, I'd greatly appreciate it.

     

    Gareth

    <o:p> </o:p>

    Microsoft (R) Windows Debugger Version 6.11.0001.404 AMD64<o:p></o:p>

    Copyright (c) Microsoft Corporation. All rights reserved.

    <o:p> </o:p>

    09a4:03c0 @ 12177796 - LdrpSearchPath - INFO: Searching path "D:\apache-tomcat-6.0.20\ISAPI;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpResolveFullName - INFO: Resolving the full name of DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpResolveFullName - INFO: DLL name "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll" was resolved to "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpSearchPath - INFO: Located DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpSearchPath - INFO: Searching path "D:\apache-tomcat-6.0.20\ISAPI;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpResolveFullName - INFO: Resolving the full name of DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpResolveFullName - INFO: DLL name "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll" was resolved to "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpSearchPath - INFO: Located DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpMapDll - INFO: Mapping dynamic DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    ModLoad: 00000000`10000000 00000000`10071000   D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpMapDll - INFO: Mapped DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll" at address 0000000010000000<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpHandleOneOldFormatImportDescriptor - INFO: DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll" imports "KERNEL32.dll"<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpSnapThunk - WARNING: Hint index 0x173 for procedure "GetLastError" in DLL "KERNEL32.dll" is invalid<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrpSnapThunk - WARNING: Hint index 0x36 for procedure "CloseHandle" in DLL "KERNEL32.dll" is invalid

    09a4:03c0 @ 12177796 - LdrGetProcedureAddressEx - INFO: Locating procedure "__C_specific_handler" by name<o:p></o:p>

    09a4:03c0 @ 12177796 - LdrGetProcedureAddressEx - INFO: Locating procedure "RtlInitializeCriticalSection" by name<o:p></o:p>

    <o:p> </o:p>

    many, many of these types of messages … I don’t think they’re relevant

    <o:p> </o:p>

    09a4:03c0 @ 12177984 - LdrpRunInitializeRoutines - INFO: Calling init routine 000000001004FB40 for DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    09a4:03c0 @ 12177984 - LdrGetProcedureAddressEx - INFO: Locating procedure "GetFilterVersion" by name<o:p></o:p>

    09a4:03c0 @ 12177984 - LdrGetProcedureAddressEx - INFO: Locating procedure "HttpFilterProc" by name<o:p></o:p>

    09a4:03c0 @ 12177984 - LdrGetProcedureAddressEx - INFO: Locating procedure "TerminateFilter" by name<o:p></o:p>

    09a4:03c0 @ 12177999 - LdrpUnloadDll - INFO: Uninitializing DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll" (Init routine: 000000001004FB40)<o:p></o:p>

    09a4:03c0 @ 12177999 - LdrpUnloadDll - INFO: Unmapping DLL "D:\apache-tomcat-6.0.20\ISAPI\isapi_redirect-1.2.28.dll"<o:p></o:p>

    09a4:03c0 @ 12177999 - LdrpUpdateLoadCount2 - INFO: Dereferencing loaded DLL "C:\Windows\system32\OLEAUT32.dll" (new reference count: 0x9)<o:p></o:p>

    09a4:03c0 @ 12177999 - LdrpUpdateLoadCount2 - INFO: Dereferencing loaded DLL "C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4016_none_88dc01492fb256de\MSVCR80.dll" (new reference count: 0x4)<o:p></o:p>

    09a4:0ef8 @ 12203427 - LdrGetDllHandleEx - INFO: Searching for DLL "KERNEL32.DLL" from path "c:\windows\system32\inetsrv;C:\Windows\system32;C:\Windows\system;C:\Windows;.;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Commo<o:p></o:p>

    Thursday, October 8, 2009 9:26 PM

Answers

  • User690216013 posted
    I really wish Tomcat guys can hear the voices and start to take some serious actions on their x64 version. So in order to be heard, I suggest you and others who experience similar problems to contact Tomcat guys directly via their forums, mailists and so on. Regards,
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, October 9, 2009 9:30 PM

All replies

  • User690216013 posted
    I really wish Tomcat guys can hear the voices and start to take some serious actions on their x64 version. So in order to be heard, I suggest you and others who experience similar problems to contact Tomcat guys directly via their forums, mailists and so on. Regards,
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, October 9, 2009 9:30 PM
  • User-1407668504 posted

    Hy gazp:

    I used a different re director plugin for IIS7 based on .net. It seemed far simpler to do. Works on 32 bit and 64 bit machines the same way. No messing with worker properties or anything else. Just run the installer in the package. Works with IIS7 and Tomcat 6 and 7. You can download from the RiaForge site:

    http://tomcatiis.riaforge.org
    Tuesday, May 10, 2011 10:49 AM