jQuery in Action, 3rd edition
The moose likes Tomcat and the fly likes HTTP 400 Bad Request 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 "HTTP 400 Bad Request" Watch "HTTP 400 Bad Request" New topic
Author

HTTP 400 Bad Request

deepak carter
Ranch Hand

Joined: Feb 19, 2011
Posts: 165
Hi,

i have just installed tomcat 6.whenever i am trying to run http://localhost:8080/ its giving me HTTP 400 Bad Request error .The services are running.

Do i need to set classpath for tomcat also..If yes then can you please let me know what classpath needs to be set.SInce i am am new in class an detailed answer would be highly apprecaited.


thanks in advance
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17046
    
  26

You haven't given enough details.

If you're attempting to start Tomcat as a Windows Service, it can be difficult to debug. It's easier to try launching it in a command window.

Tomcat sets up its own classpaths. You should set the JAVA_HOME environment variable, however so that Tomcat knows which of your installed JVMs to run under.

When you start up Tomcat in a command window, it will print out a few items to let you know what environment settings you have in effect.


An IDE is no substitute for an Intelligent Developer.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: HTTP 400 Bad Request
 
jQuery in Action, 3rd edition