English

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

Summary

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

Procedure

  1. 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. Choose Start > Programs > JRun > JRun Management Console.
    b. Expand JRun Default Server
    c. Click Java Settings.
    d. On the right tab, click Classpath.
    e. Type the following in the Input Field:
    <ArcIMS Installation Directory>\Connectors\AppServerLink\arcims_appserverlink.jar
    f. Click Update.
    g. Type the following in the Input Field:
    <ArcIMS Installation Directory>\Samples\Java_JSP\Classes\arcims_jspbeans.jar
    h. Click Update to eubmit the classpath entry.
  2. 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 jrun.dll from the list, and click Open. The Executable Path should be similar to c:\Inetpub\scripts\jrun.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.
  3. Stop and Start IIS and JRun.
    -On Windows NT: Click Start > Settings > Control Panel > Services;
    -On Windows 2000: Click Start > Settings > Control Panel > Administrative Tools > Component Services.
  4. 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