This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat 400 error on default page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat 400 error on default page" Watch "tomcat 400 error on default page" New topic

tomcat 400 error on default page

R Sriram

Joined: Jun 11, 2008
Posts: 18

I have been working with tomcat 5.5. Whenever I start tomcat, I check to see if its Started up ok, by checking the http://localhost:8080/ URL. Today, I found it returning a 400 Error, while all these days it did not show up anything like this. Adding to woes is, when I try to access some webapp in this state it responds for the basic html requests from browser. For any non-html, say for a servlet request, it throws a 404.

All the path details and the ENV stuffs are pretty much correct. Please let me know if any solutions. Crazily, I even tried a system restart, in vain!
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13006
What error messages do you find in the logs?
R Sriram

Joined: Jun 11, 2008
Posts: 18
The Logs do not reflect any error message as such. I even tried to set it up in debug mode, but no exceptions, no warnings but it seems to be dumb. I also found that a default webapp by name "ROOT" was missing for some reason.Could it be the cause?
I agree. Here's the link:
subject: tomcat 400 error on default page
It's not a secret anymore!