![]() ![]() I am using Tomcat 6, and there is nothing in front of Tomcat (such as Apache). 404 Not Found error messages are frequently customized by individual websites. The error page will be generated with this code. To be clear, the error indicates that while the server itself is reachable, the specific page showing the error is not. htaccess file (or create one if needed) in the root directory, enter this in ErrorDocument 404 /404.html and save the change. ![]() There is nothing in the logs I have tried changing the log level to include more information, but I still see nothing.Īny ideas/suggestions? I am happy to attach a debugger to the Tomcat instance if necessary in order to try and work out what is happening, but I'm not sure what the entry point is, so pointers to where I might want to stick a breakpoint would also be appreciated. A 404 error is an HTTP status code that means that the page you were trying to reach on a website couldn't be found on their server. In the second error condition, we checked to see if the request was made, but the server received no response. This is an option provided by the HTTP specification: An origin server that wishes to 'hide' the current existence of a forbidden target resource MAY instead respond with a status code of 404 (Not Found). The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. No indication is given of whether the condition is temporary or permanent. I can see in the logs that it is deploying (also by the fact that it will recreate its database tables if I drop all the tables and restart Tomcat), and by using JConsole I can see that it is in Mbeans->Catalina->Host->Localhost->Attributes->children as a webmodule.Īlso on the same machine is hudson.war, which works fine - I am certain that I am connecting to the correct machine because I can remove the hudson.war and Hudson disappears from the URL. The errors we can get here range from a 400 error telling us the user does not exist or there are missing credentials, a 404 error telling us the page was not found, to a 501 error telling us the page is unavailable, etc. Therefore, in these cases, your API should respond with a 404 Not Found status code. The server has not found anything matching the Request-URI. The war file is called sonar.war, and is deployed in WebApps. I have a web app which Tomcat says it has deployed, but when I go to its URL, I get a 404. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |