HOW TO

Configure WebLogic 7.0 for ArcIMS 4.0.1

Last Published: April 25, 2020

Summary

After installing ArcIMS, the Web server must be configured for ArcIMS. If the Web Server is not operational, contact the system administrator before proceeding. Click the BEA Web link in Related Information, below, for information on problems with WebLogic.

Procedure

Follow the steps below to configure the Web server for ArcIMS.

  1. Copy the following items from <ArcIMS Installation Directory>/ArcIMS/Middleware/servlet_connector to <WebLogic Installation Directory>/user_projects/<Domain Name>/applications/DefaultWebApp/WEB-INF/classes:

    - com directory
    - Esrimap_prop
    - ServletConnector_Res.properties
    - ServletConnector_Res_en_US.properties
    - WMSEsrimap_prop

    Note:
    You may need to create a classes directory.

  2. Open the Esrimap_prop' file in a text editor.

    Note:
    Be sure to open the file that was copied into the <WebLogic Installation Directory>/user_projects/<Domain Name>/applications/DefaultWebApp/WEB-INF/classes directory.

  3. Change the value of 'appServerMachine' to the name of the Application Server computer. For example:

    Code:
    appServerMachine=<server name>.esri.com

  4. Save and close the file.
  5. In a text editor, open the file: <WebLogic Installation Directory>/user_projects/<Domain Name>/applications/DefaultWebApp/WEB-INF/web.xml'.

  6. Find the line in this file:

    Code:
    <web-app>

    and add the following under it:

    Code:
    <servlet>
    <servlet-name>Esrimap</servlet-name>
    <servlet-class>com.esri.esrimap.Esrimap</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Esrimap</servlet-name>
    <url-pattern>/servlet/com.esri.esrimap.Esrimap/*</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>default.htm</welcome-file>
    </welcome-file-list>

  7. Save and close the file.
  8. Create a directory for ArcIMS image output:

    Code:
    mkdir <WebLogic Installation Directory>/user_projects/<Domain Name>/applications/DefaultWebApp/output


    Note:
    Make sure you have write permission to this directory.

  9. Create a directory for ArcIMS Web site files:

    Code:
    mkdir <WebLogic Installation Directory>/user_projects/<Domain Name>/applications/DefaultWebApp/website


    Note:
    Make sure you have write permission to this directory.

  10. Restart the WebLogic Server.
  11. In the WebLogic console, on the left sidebar, click 'Web Applications'.
  12. Click 'DefaultWebApp'.
  13. On the right panel, under the Files tab, check the box to enable 'Index Directories' and click Apply.
  14. Close the console.
  15. To provide Web users with the ArcIMS files that are necessary to view the Java Web pages, copy the install directory from the installation directory to the Web site directory. For example:

    Code:
    cp -r <ArcIMS Installation Directory>/ArcIMS/ViewerDownLoad/install <Path to Website directory>

    For more information, refer to the ArcIMS 4.0.1 Installation Guide, "Installing ArcIMS Viewer".
  16. Open <ArcIMS Installation Directory>/ArcIMS/Xenv/ArcIMS_Diagnostics/ArcIMS_Diagnostics.html in Netscape. The ArcIMS Diagnostics tool displays.
  17. Select the Web server protocol, type the Web server name including domain, and type the port number. The default is 80.
  18. Click 1 to test the ArcIMS Servlet Connector.

    If this test is successful, the ArcIMS Servlet Connector is configured correctly.

    If you receive an error message, select the error number in the dropdown list and click View. The error number and a description display. Follow the instructions in the description to fix the problem and try the Diagnostics tool again.

    See "Configure ArcIMS" in ArcIMS install documentation for instructions on running ArcIMS.

Article ID:000005693

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic