|
| Problem | When the web server or WebSphere Application Server cannot locate a web resource provided in a URL it returns HTTP error code 404. This document provides suggestions for solving this problem when the web resource does, in fact, exist. | | | | Solution | Different browsers report HTTP error 404 differently. Depending on the browser you are using you may see messages like the following when the server returns 404:- Not Found
- The requested URL <url> was not found on this server.
- The page cannot be found.
If your browser receives an HTTP 404, check the following to correct the problem:- Verify that the web resource requested in the URL actually exists and is configured correctly on the server.
- Verify that the web path contained in the URL is spelled correctly. You can check the spelling and format of web paths for a virtual host from the Administrative Console by navigating to the virtual host in the Topology tree. Expand the virtual host element in the tree to see the list of web paths for configured web resources.
- Verify that the host name or IP address provided in the URL appears in the host aliases list for the virtual host. You can view and modify the host alias list from the Administrative Console by navigating the Topology tree to the virtual host configuration and selecting the Advanced tab.
- Verify that the directories containing web resource files have appropriate access permissions.
- The DocumentRoot and the web resource files it contains should be readable.
- The destination directory for JSP-generated Java source code and class files must be writable by the application server running the JSP servlet.
- Verify that all classes required by the web resource are available on the web application's classpath or the application server's classpath.
- Ensure that the web server is configured to handle requests that are not intended to be forwarded to the application server. Web server configuration issues are vendor-dependent.
| | | |
| |
|
Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Servlet Engine/Web Container Operating system(s): All Platforms Software version: 3.0.x, 3.5 Software edition: Standard, Advanced Reference #: 1000331 IBM Group: Software Group Modified date: 2000-10-25
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.
|