How To: Install IIS 6.0 with Tomcat 4.1.29 using J2SDK 1.4.2 for ArcIMS 9.0 on Windows 2003


Instructions provided are for the installation and configuration of IIS 6 with Tomcat 4.1.29 using J2SDK 1.4.2 for ArcIMS 9.0 on Windows 2003.

Specific information for the installation of ArcIMS is included with the product's Install Guide.

This installation will require the following:

A user account that has Administrator rights on the ArcIMS machine is required. 

Before Beginning:

  • Familiarity with certain Windows tasks is required to install and configure ArcIMS. For details, see Common Windows tasks when installing ArcIMS
  • For more information on the acronyms and terms used in this document, see the Glossary of terms used in ArcIMS Installation articles.
  • Review and follow steps 1 and 2 from the ArcIMS Installation Guide on the DVD. These two steps ensure that the system meets the minimum requirements and assist in planning the ArcIMS site configuration. To open the ArcIMS Installation Guide, launch the DVD menu and click 'ArcIMS Installation Guide'.


ArcIMS 3.1, 4.0 or 4.0.1 must be uninstalled to install ArcIMS 9.0. The setup program for ArcIMS 9.0 on Windows will prompt for the removal of previously installed versions.

If ArcIMS components were distributed among several computers, it is recommended the uninstall program be manually run on each computer.

A supported Web server and Servlet Engine must be properly installed and configured before running the setup program for ArcIMS 9.0.
  1. Uninstall any unsupported versions of JDK/JRE, Web server and Servlet Engine. The following is a list of documents for uninstalling third-party software used in conjunction with ArcIMS on Windows: How To: Uninstall ArcIMS-related third-party software on Windows
  2. Install J2SDK 1.4.2.
    1. Click J2SDK 1.4.2 to download Sun Java 2 SDK, Standard Edition, version 1.4.2.
    2. Click 'Download' in the SDK column for the Windows version.
    3. Accept the license agreement.
    4. Click Windows Offline Installation, the first option, to download j2sdk-1_4_2-windows-i586.exe.
    5. Run the program after it has finished downloading.
    6. Accept all of the installation program defaults, unless changes are required.
  3. Install IIS Web server, if it is not already installed. See: How To: Install IIS 6.0 on Windows 2003
  4. Install Tomcat 4.1.29.
    1. Download and install Tomcat 4.1.29 using the following link: Jakarta Tomcat 4.1.29 Download site
    2. Click 'jakarta-tomcat-4.1.29.exe' to download the file and save it on the local machine.
    3. Navigate to the folder where the file was downloaded and double-click 'jakarta-tomcat-4.1.29.exe'.
    4. Click OK to confirm the correct Java Development Kit.
    5. Read the License Agreement and click 'I Agree'.
    6. Check the NT Service on the Installation Options page and click Next.
    7. Type <drive>:\Tomcat4129 for the installation directory.
      Do not install Tomcat under Program Files, or other paths with spaces, or problems may occur.
    8. Click Install.
    9. At the Test Install Setup screen, use the default settings. Enter a password for Tomcat Administration and click Next.
    10. Click Close to complete the installation.

    11. Navigate to the Windows Environment Variables. Consult Windows Help for assistance.
    12. Under System Variables, Click New. For the Variable Name, type: JAVA_HOME
      This is case-sensitive.

      For Variable value, type the path where Java 2 SDK is installed; for example: <drive>:\j2sdk1.4.2, and click OK.
    13. Create another system environment variable called CATALINA_HOME
      This is case-sensitive.
      For Variable value, type the path where Jakarta Tomcat 4.1.29 is installed; for example: <drive>:\Tomcat4129, and click OK.
    14. While in the System Variables panel, scroll to Path, select it and click Edit. In the Variable Value text box, append the following to the end of the text, including the leading semi-colon:
      Verify that old references to JAVA_HOME; for example, <drive:>\jdk1.3.1 or similar, in the path variable have been removed.
    15. Click OK twice to close the Properties window.
      Click Here for additional resources on installing the Tomcat Servlet Engine.
  5. Configure Tomcat 4.1.29 with IIS.
      1. Download the configuration files and extract the downloaded .zip file to a location on the hard drive.
      1. In Windows Explorer, navigate to <drive>:\Tomcat4129\bin.
      2. Within the 'bin' folder, create a new folder and name it 'win32'.
      3. Paste the isapi_redirector.dll from the location where it was extracted into the newly created folder, <drive>:\Tomcat4129\bin\win32.
      1. In a text editor, open the worker.properties file from the temporary location.
        Notepad must be used to edit the properties files. Using other text editors for this step may cause a '404 Error, File not found' later in the installation.
      2. Ensure that the 'java_home' and 'tomcat_home' variables have been set correctly. For example:

        Ensure that these paths accurately reflect the current set-up environment.
      3. Save and close the file.
      4. Copy both worker.properties and uriworkermap.properties from the temporary location and paste them into the directory <drive>:\Tomcat4129\conf
      1. In Windows, navigate to <drive>:\Tomcat4129\conf, and open the file 'web.xml' in a text editor.
      2. Search for the following text:
        <!-- The mapping for the invoker servlet -->
      3. Delete the comment lines "<!--" and "-->", so the code appears as follows:
        <!-- The mapping for the invoker servlet -->
      4. Save and close the file.
      The registry files extracted from the downloaded .zip file are intended to work with a default installation of Tomcat 4.1.29 in C:\Tomcat4129. If drives or the installation directory were changed, open the according file in Notepad, and make the appropriate changes to reflect the current environment.
      1. Double-click the registry file Win200x_XP_IMS90_Tomcat4129.reg in the location where it was extracted to execute it.
      2. Click Yes, then OK. This should create the necessary registry keys for Tomcat.
      1. Open Internet Services Manager.
      2. In the left panel of the Console, under Internet Information Services, expand the contents for the '*host' machine name.
      3. Right-click 'Default Web Site' and select New > Virtual Directory. This opens the Virtual Directory wizard. Continue as follows:
        1. Click Next to continue.
        2. In the Alias box, type 'Jakarta' and click Next.
        3. For Directory, navigate to: <drive>:\Tomcat4129\bin\win32, click OK, then click Next.
        4. Check the box to give the permissions: Execute; for example, ISAPI applications or CGI.
        5. Click Finish.
      4. Right-click 'Default Web Site' and select Properties. Continue as follows:
        1. In the dialog box, select the 'ISAPI Filters' tab.
        2. Click Add.
        3. In the Filter Properties dialog box, enter the Filter Name such as Jakarta.
        4. For the Executable, navigate to:
          <drive>:\Tomcat4129\bin\win32\isapi_redirector.dll and click OK.
        5. Click Apply and close the Default Web Site Properties dialog box.
      5. Add a Web Service Extension for Jakarta.
        1. Right-Click on Web Service Extensions and choose Add a new Web service extension.
        2. Type Jakarta for the Extension name.
        3. Click Add and navigate to:
          <drive>:\Tomcat4129\bin\win32\isapi_redirector.dll. Click OK.
        4. Check "Set extension status to Allowed" and click OK to close the dialog.
      6. Stop and Start IIS, ensuring that the Default Web Site is selected.
      1. In IIS Manager, on the left panel of the window, navigate to Default Website > Jakarta.
      2. On the right panel of the window, right click on the isapi_redirector.dll and select Properties.
      3. Select the File Security tab.
        1. Click Edit for Anonymous Access and Authentication Control.
        2. Uncheck the 'Integrated Windows Authentication' box.
        3. Click OK twice to confirm.
      4. Close Internet Services Manager.
  6. Give the user accounts:
    'Authenticated Users',
    'Network Service' and

    read, write and execute permissions for the two directories:
    <drive>:\Program Files\Java

    and for the file:
  7. Verify that the configuration of Tomcat was successful.
    1. Open the Windows services panel. Select the Apache Tomcat 4.1 service from the list and start it, if not already started.
    2. Enter the following test URL into a browser.
      This URL is case-sensitive.
      A page should display that says "Hello World" if the test is successful.
      If this test fails, retrace the installation steps. It may be that the URL works if 'port 8080' is specified. This only indicates that the Tomcat Web server is working; the required redirect to IIS is failing. Do not proceed to install ArcIMS.
    3. In the Internet Services Manager, Right-click on Default Web Site, choose Properties and click on the ISAPI Filters tab. Verify that there is a green, upward arrow next to the Jakarta filter.
      If there is not a green arrow next to Jakarta filter, try stopping and re-starting the 'IIS Admin Service' and 'WWW Publishing Service' from the Services panel. If the Jakarta filter still fails, do not proceed further. Go back and check the registry entries created in Step 5M.
  8. Install ArcIMS 9.0 from the installation CD. In the ArcIMS Installation Guide, see Step 3a.
  9. Run the ArcIMS Post Installation to configure ArcIMS 9.0 with IIS and Tomcat 4.1.29. In the ArcIMS Installation Guide, see Step 3b.
    Stop the Tomcat service before continuing, or difficulties may arise during the Post Installation.
      There are several options to authorize ArcIMS for use. Please see the Installation Guide, Step 3b for more information. The following steps cover one common option.
    1. Open a web browser and go to http://service.esri.com
    2. Click Product Registration and choose the according ArcIMS version to register the software.
    3. Enter the information requested and type the registration code in the field provided, for example ECP123456789. The registration code should have been sent in an e-mail.
      If you did not receive a registration code for this product please contact Customer Service. Customers outside the USA should contact their Esri International Distributor.
    4. An email will be sent with an authorization file attached, for example 123456789.ecp. Save the file in a directory on the ArcIMS machine.
    5. Launch the ArcIMS Post Installation and choose the Typical option.
    6. Choose the third option 'I have received an authorization file...' and click Next.
    7. Browse to the file received in Step D and click Next to authorize ArcIMS for use.
    8. Click Finish to exit the Software Authorization Wizard and continue with the ArcIMS Post Installation.
      1. At the Web Server-Servlet Engine Configuration dialog box, select 'IIS with Tomcat 4.1.xx. Click Next.
      2. For the Servlet Engine Directory, enter the path where Tomcat was installed, for example: <drive>:\Tomcat4129
      3. Click Next.
      4. Click OK. The Web Server / Servlet engine configuration may take a few minutes to complete.
      5. Finish the Post Installation.
      6. Restart IIS and Tomcat in the Windows services panel.
  10. Verify that the ArcIMS installation was successful.
    1. Click Start > Programs > ArcGIS > ArcIMS > ArcIMS Diagnostics. The ArcIMS Diagnostics page displays.
    2. Verify the Web server protocol and Web server name are correct, including the domain and port number. The default is port 80.
    3. Test both components. The result for test 1 should be:

      IMS v9.0.0
      Test successful

      The result for test 2 should be:

      Test successful
      If these tests are successful, the ArcIMS Application Server and ArcIMS Servlet Connector are configured correctly. If an error message is received, select the error number in the drop-down list and click View. The error number and a description displays. Follow the instructions in the description to fix the problem and try the Diagnostics tool again.
  11. For the final step to get ArcIMS running, refer to the ArcIMS Installation Guide, Step 5: "Configure ArcIMS".

Related Information