Tomcat 5.5 connector to IIS6  - isapi_redirector2 problems

Posted on 2006-05-02
Last Modified: 2012-06-21
win2003 with IIS6, installed JRE 5.0 & tomcat 5.5.17 - all example pages work on port 8080.
installed the JK2.0.4 connector for IIS with isapi_redirector2 and I get "Service Unavailable" when I try the same example with port 80.
I followed these instructions:
everything on my server show like this beside of one thing: file doesn't show as a "java properties" file on my server.
I have 2 thoughts about possible problems:
either the properties files aren't recognized as java properties or the file itself require some modifications that I'm not aware of.
Question by:chuku
    LVL 10

    Expert Comment

    JK2 is deprecated and has been unsupported for more than a year now.  That means it has problems that will never be fixed.  Development has continued on the original JK instead -- so for starters, you will probably want to considre using JK instead of JK2.

    "IMPORTANT NOTE: The JK 2 connector is now deprecated. Use JK or  mod_proxy_ajp instead."

    I wouldn't expect to show as a "java properties" file.  What does kind of file does it say it is?  On my servers, they say "PROPERTIES file".  You probably just want to make sure it's not or something, with file extension display turned off in Explorer.

    What are the contents of your file?  Do they make sense for your server?
    LVL 17

    Author Comment

    by:chuku show as "PROPERTIES file"  on my server too, I just wondered since the HowTo article show it as "JAVA file"
    about the content, I used the file in that HowTo & just changed the path to my server's:
    info=Shared memory file. Required for multiprocess servers
    file=E:\Tomcat 5.5\shm file\jk2.shm

    info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol

    info=JSP examples, map requests for all JSP pages to Tomcat.

    info=Servlet examples, map requests for all servlets to Tomcat.
    LVL 10

    Accepted Solution

    The file extension association is probably from some java development environment the author of the HowTo article had installed, like Eclipse or NetBeans.

    Some possible steps:
    -- Try changing the file path for the SHM file to forward slashes instead of backslashes.  (Also, it's sometimes safer to use directory names that don't have spaces in them.)

    -- Make sure IIS_WPG has permissions to "E:\Tomcat 5.5\shm file" and its contents

    -- Look in the Windows Event Viewer > Application to see if JK2 is logging errors.

    Alternately, change config in to have JK2 to log to a file :

    # Alternate file logger
    file=E:/Tomcat 5.5/logs/jk2.log

    info=Global server options
    # Default Native Logger (apache2 or win32 )
    # can be overriden to a file logger, useful
    # when tracing win32 related issues


    LVL 23

    Expert Comment

    LVL 23

    Assisted Solution


    The ISAPI redirector can read it's configuration from a properties file instead of the registry. This has the advantage that you can use multiple ISAPI redirectors with independant configurations on the same server. The redirector will check for the properties file during initialisation, and use it in preference to the registry if present.

    Create a properties file in the same directory as the ISAPI redirector called i.e. with the same name as the ISAPI redirector DLL but with a .properties extension. A sample can be found under the conf directory.

    The property names and values in the properties file are the same as for the registry settings described above. For example:

    # Configuration file for the Jakarta ISAPI Redirector

    # The path to the ISAPI Redirector Extension, relative to the website
    # This must be in a virtual directory with execute privileges

    # Full path to the log file for the ISAPI Redirector

    # Log level (debug, info, warn, error or trace)

    # Full path to the file

    # Full path to the file


    Back-slashes - '\' - are not escape characters.
    Comment lines begin with '#'.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Superior storage. Superior surveillance.

    WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

    Suggested Solutions

    Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now