File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 16012
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP 400 Bad Request