HOW TO

Use the Service Administrator to work with Web servers running on ports other than 80

Last Published: April 25, 2020

Summary

The Service Administrator fails to work if the Web server uses a port other than 80 to serve content.

Procedure

Two suggested work-arounds are shown below, both of which require changes to the logincheck.jsp file. This file may be located in two places depending on the servlet engine being used:

If not using Tomcat, then look in the <ArcIMS Installation Directory>/Administrator/esriadmin folder.

If using Tomcat, it should be in the <Tomcat Installation Directory>/webapps/esriadmin directory.

  • Method 1 for working around this issue is to replace this line:

    Code:
    String site = request.getParameter("host");

    with this line:

    Code:
    String site = "yourcomputer";

    where yourcomputer is the name of the computer on which the ArcIMS Application Server runs.

    This method is simpler, but problems may arise if the server name changes at a later date.
  • Method 2 for working around this issue is to implement Java code that truncates the ":<port number>" directive from the host name. This can be done by replacing this code:

    Code:
    String site = request.getParameter("host");

    with this code:

    Code:
    String tempsite = request.getParameter("host");
    int pos = tempsite.lastIndexOf(":");
    String site = tempsite.substring(0,pos);

Article ID:000005417

Software:
  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options