Summary
After installing ArcIMS, it is necessary to configure the Web server for ArcIMS. If the Web server and servlet engine are not operational, contact the system administrator before proceeding. Also, contact New Atlanta for specific versions of Apache supported for ServletExec 4.2 and any problems encountered with ServletExec.
Procedure
- Stop the Apache and ServletExec services.
- Copy the following from <ArcIMS Installation Directory>/ArcIMS/Middleware/servlet_connector to <ServletExec Installation Directory>/NewAtlanta/ServletExecAS/se-<instance-name>/Servlets:
- com directory
- Esrimap_prop
- ServletConnector_Res.properties
- ServletConnector_Res_en_US.properties
- WMSEsrimap_prop
- Open the Esrimap_prop file in a text editor.
- Change the value of appServerMachine to the name of your Application Server computer. For example:
Code:
appServerMachine=<server name>.esri.com
- Save and close the file.
- After installing ArcIMS, one must create virtual directories to map the location on the Web server to a physical path, for both output and website.
Open the file <Apache Installation Directory>/conf/httpd.conf in a text editor.
- In the Alias section, add the following for Web site and server output:
Code:
Alias /output "/<Path to output directory>/output"
<Directory "/<Path to output directory>/output">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /website "/<Path to website directory>/website"
<Directory "/<Path to website directory>/website">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
- For Web pages designed in ArcIMS to start automatically, make sure the DirectoryIndex line includes default.htm. For example:
Code:
DirectoryIndex index.html default.htm
Save and close the file.
- To provide Web users with the ArcIMS files that are necessary to view the Java Web pages, copy the /install directory from your install directory to your website directory. For example:
Code:
cp -r <ArcIMS Installation Directory>/ArcIMS/ViewerDownLoad/install <Path to website directory>
For more information, see the Installing ArcIMS Viewer topic in the ArcIMS Install Guide.
- Start the Apache and ServletExec services.
- Open <ArcIMS Installation Directory>/ArcIMS/Xenv/ArcIMS_Diagnostics/ArcIMS_Diagnostics.html in Netscape. The ArcIMS Diagnostics tool displays.
- Select the Web server protocol, type the Web server name including domain, and type in its port number. The default is 80.
- Click 1 to test the ArcIMS Servlet Connector.
If this test is successful, the ArcIMS Servlet Connector is configured correctly.
If an error is received, select the error number in the dropdown list and click View. The error number and a description will be displayed. Follow the instructions in the description to fix the problem, and try the Diagnostics tool again.