File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes HTTP status  404 1141 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "HTTP status  404 1141" Watch "HTTP status  404 1141" New topic

HTTP status 404 1141

sridhar vedhanabatla

Joined: Feb 21, 2007
Posts: 12

I am trying to access a file from the file-system under valid path, but tomcat is giving message "HTTP STATUS 404".

The file was being acessed properly previously but suddenly something went wrong. When i checked log file it says

GET "filename" 404 1141 "url"

I tried finding what is error code 1141 but failed to get valid explanation.

Please tell me what is this 404 1141 status code. Im using jakarta-tomcat 5.0 under red hat linux 7 and also using mod_jk to connect apache to tomcat.

Thanks in advance.
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

The "1141" is not an error code. It is probably the number of bytes returned to the requestor.
Is this log file from Apache or Tomcat?
Apache should have a line at the top of the log file that tells you what data is in what field.
Tomcat 5.5 is configured through the "AccessLogValve" settings in server.xml (see here). I don't know about Tomcat 5.0.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: HTTP status 404 1141
It's not a secret anymore!