Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Moved to Troubleshooting page.

Invalid Content Length Log Messages

Sometimes you may see the following types of messages in your log

java 2006-10-17 18:08:35,103 WARN log.mortbay.http.HttpConnection - <Invalid length: Content-Length=... written=... for ....>

It usually simply means that the connection has been closed before all the content was written. The client is allowed to do this.

Contact the core Jetty developers at
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery