English

How To: Configure ServletExec with IIS and the ArcIMS AppServerLink and JSP Samples on Windows

Summary

Instructions provided describe the steps to configure ServletExec for the ArcIMS AppServerLink and copy the JSP website directories to the correct location.

Procedure

  1. Verify that ServletExec is configured for JSP:
    a. Open a browser and type "http://localhost/servlet/admin" to start ServletExec Administration.
    b. On the left under Servlets, click configure, and verify that JSP10Servlet has been loaded.
    c. On the left under Servlets, click aliases, and verify that there is an entry for *.jsp that points to JSP10Servlet.
  2. Add arcims_appserverlink.jar to the Web server classpath. This JAR file provides the Java classes for communicating with the ArcIMS Application Server. At the same time, you can add arcims_jspbeans.jar to the Web server classpath. This jar file provides the Java classes for the JSP samples.
    a. In ServletExec Administration under Virtual Machine, choose classpath.
    b. Make the following entry in the classpath:
    <ArcIMS installation directory>\Connectors\AppServerLink\arcims_appserverlink.jar
    c. Submit the classpath entry.
    d. Make the following entry in the classpath:
    <ArcIMS installation directory>\Samples\Java_JSP\Classes\arcims_jspbeans.jar
    e. Submit the classpath entry.
  3. Set default.jsp as a default page:
    a. Open IIS Manager.
    On Windows NT, choose Start > Programs > Windows NT 4.0 Option Pack > Microsoft Internet Information Server > Internet Service Manager; on Windows 2000, choose Start > Settings > Control Panel > Administrative Tools > Internet Services Manager.
    b. Right-click Default Web Site on the left, and select Properties.
    c. Click the Home Directory Tab. On the right toward the bottom, click Configuration.
    d. In the Application Configuration dialog, click Add.
    e. In the Add/Edit dialog, click Browse. Under Files of Type, select *.dll. Select ServletExec_ISAPI.dll from the list, and click Open. The Executable Path should be similar to c:\Inetpub\scripts\ServletExec_ISAPI.dll.
    f. In the Extension Type box, type .jsp. Click OK. Click OK in the Application Configuration dialog.
    g. In the Default Web Site Properties dialog, click the Documents tab. Click Add.
    h. In the Add Default Document dialog, type default.jsp (all lower case). Click the up arrow to move default.jsp to the top of the list. Click OK.
    i. Click OK in the Default Web Site Properties dialog.
  4. Stop and Start IIS and ServletExec.
    -On Windows NT: Click Start > Settings > Control Panel > Services;
    -On Windows 2000: Click Start > Settings > Control Panel > Administrative Tools > Component Services.
  5. Copy the sample ArcIMS JSP Web sites to your Web server's document root directory or to a virtual directory. For example:
    a. Copy <ArcIMS Installation Directory>\Samples\Java_JSP\AdvancedViewer to <virtual or root directory>\AdvancedViewer.
    b. Copy <ArcIMS Installation Directory>\Samples\Java_JSP\Extractor to <virtual or root directory>\Extractor.
    c. Copy <ArcIMS Installation Directory>\Samples\Java_JSP\Geocoder to <virtual or root directory>\Geocoder.

Related Information