Problem: The ArcIMS Administrator Servers tab shows empty Server and Virtual Servers lists
When clicking on the Servers tab in the ArcIMS Administrator, the Server and its Virtual Servers list is empty.
Some of the most common causes are listed below. You can find the correlating solution to each cause by matching their item numbers in the Solution section that follows. For example, Cause 1. is solved by Solution 1., and so on.
1. The ArcIMS Spatial Server might not be running. 2. The environment variables needed for ArcIMS is not set correctly. 3. The ArcIMS Spatial Server is unable to communicate with the Application Server. 4. The ArcIMS Monitor's listener port that is used by the ArcIMS Application Server and ArcIMS Spatial Server for communication is already in use.
Solution or Workaround
Refer to the solution below that correlates with the cause of the same number above:
Verify that the ArcIMS Spatial Server is running. Type:
The aimsserver.exe is responsible for running the Spatial Server.
Verify that environmental variables are set when ArcIMS starts the Spatial Server; the most important environment variable is to set the LIBRARY PATH. The following variables should be set. This example assumes you are using the .cshrc file:
The Monitor daemon is responsible for starting the Spatial Server. To make sure the Monitor is running correctly, navigate to the Monitor directory:
Open the Monitor.properties file and verify that the 'registryHost' entry is valid such as:
### The name of the computer on which the ArcIMS Application Server is running.
The Application Server is now communicating with the Spatial Server, using the correct name.
Check the availability of the ArcIMS ports:
A. Verify that the Monitor's listener port is free; by default this is port 5050. Verify that other instances of ArcIMS Monitor are not using this port. Type:
ps -ef | more
Check if the Monitor daemon is running. If so, get the PID of the process and kill the process. Type:
kill -9 <PID>
B. Check the /etc/services file to see if port 5050 is already in use. This file is a local source of information used to define which ports are used by the system daemons for particular services, such as ftp, http, and telnet.
C. Get a list of the processes running or idle, including the ports assigned to each one of the processes. Type:
netstat -an | more
Verify that port 5050 is not in use.
D. Sometimes a process will not be listed, but it is still running. To avoid such situations, navigate to $AIMSHOME/Xenv and shutdown the Monitor daemon. Type:
This will free the port if it is being used.
If the Spatial Server is installed on a remote machine, things to check would be:
A. If both machines are able to ping each other. B. The Montor's listener port is open; by default this is port 5050. C. The /etc/hosts file on each machine has the entry of <IP address> <machine name> of the other machine. D. The Monitor.properties file has the correct value for "registryHost", which is the name of the Application Server machine.