English

Error: 404 Error - File Not found at ArcIMS Diagnostics or Tomcat's HelloWorldExample test

Error Message

If you are using Tomcat as your servlet engine you may get a 'HTTP 404 Error - File not found' when running the ArcIMS Diagnostics tests.
[O-Image] Diagnostics Error 404 File not found
You may also get this error when trying to test communication between Tomcat and your web server by running the 'HelloWorldExample' test:

Code:
http://<machine_name>/examples/servlet/HelloWorldExample

Cause

This error is caused when the worker.properties and uriworkermap.properties files are missing, or if they were saved incorrectly in <drive>:\<tomcatroot>\conf directory using a text editor other than Notepad.

Warning:
You must use Notepad to edit the properties files. Using other text editors to save these files is the cause for the 404 error.

Solution or Workaround

1. Open the worker.properties and uriworkermap.properties files in Notepad.

2. Check to make sure all information and paths are correct.

3. Save the files in <drive>:\<tomcatroot>\conf folder as "worker.properties" and "uriworkermap.properties", quotes included, and specify 'All Files' before saving.
[O-Image] Image of Save As prompt for worker.properties file
4. Restart the Tomcat and Web server services from the Windows Services panel.

5. Test the ArcIMS diagnostics again.

6. If the tests fail, refer to the article called "URL is invalid or ArcIMS is not running in Administrator" in the Related Information section below.

Related Information