Summary
Intructions provided describe how to configure ServletExec AS 5.0 and Apache 2.0.48 for ArcIMS 9.0 on Linux. After installing ArcIMS, the Apache Web Server and ServletExec AS 5.0 must be configured if the ArcIMS Web Server Configuration has not been performed.
Note:
If the ArcIMS Web Server Configuration has been performed, verify all edits specified below have been made.
These instructions require that the Apache and ServletExec AS 5.0 are already running properly. If the Web server and Servlet Engine are not operational, contact the system administrator before proceeding. See related Information for information on problems with Apache and Tomcat.
Procedure
- Stop the Apache and ServletExec services.
- Copy the following from $AIMSHOME/Middleware/servlet_connnector to <ServletExec Installation Directory>/NewAtlanta/ServletExecAS/se-<instance-name>/Servlets:
-com directory
-Esrimap_prop
-ServletConnector_Res.properties
-ServletConnector_Res_en_US.properties
-WMSEsrimap_prop
- Navigate to the <ServletExec Installation Directory>/NewAtlanta/ServletExecAS/se-<instance-name>/Servlets directory and open the 'Esrimap_prop' file in a text editor. Change the value of 'appServerMachine' to the name of the Application Server computer. For example:
Code:
appServerMachine=<server name>.esri.com
Save and close the file. - Create the virtual directories to map the location on the Web server to a physical path, for both output and website.
Open the file $APACHE_HOME/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 the Web pages designed in ArcIMS to start automatically, verify the DirectoryIndex line includes default.htm. For example:
Code:
DirectoryIndex index.html index.html.var default.htm
Save and close the file. - Start the Apache and ServletExec services.
- Verify ArcIMS Installation was successful using ArcIMS Diagnostics Test.
Open $AIMSHOME/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, enter the port number. The default is 80.
Click 1 to test the ArcIMS Servlet Connector. The result for Test 1 should be:
IMS v9.0.0
Build_Number=804.1646
Version=9.0.0
Test successful
If an error displays, select the error number in the dropdown list and click View. The error number and a description are displayed. Follow the instructions in the description to fix the problem, and try the Diagnostics tool again.