jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Jetty
  • JETTY-450

Jetty throw "java.lang.IllegalStateException: response" sometimes.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 6.1.6rc0
  • Fix Version/s: 6.1.6rc1
  • Component/s: HTTP
  • Labels:
    None

Description

the full stack is:

2007-10-23 06:35:17.609::WARN: handle failed
java.lang.IllegalStateException: response
at org.mortbay.jetty.HttpConnection$RequestHandler.startResponse(HttpConnection.java:864)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:403)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Greg Wilkins added a comment - 28/Oct/07 7:00 PM

This appears due to a bad request.
Anything with a request line starting with digits will be considered a response.

I will try to be less verbose about this and just do a bad request response.

Show
Greg Wilkins added a comment - 28/Oct/07 7:00 PM This appears due to a bad request. Anything with a request line starting with digits will be considered a response. I will try to be less verbose about this and just do a bad request response.
Hide
Permalink
Greg Wilkins added a comment - 28/Oct/07 7:07 PM

Bad request response is now sent
and the logging is at debug level

Show
Greg Wilkins added a comment - 28/Oct/07 7:07 PM Bad request response is now sent and the logging is at debug level
Hide
Permalink
Kevin Conaway added a comment - 30/Nov/07 10:42 AM

So is the following request not a valid http request:

GET 2/content HTTP/1.1

It must be:

GET /2/content HTTP/1.1

?

Show
Kevin Conaway added a comment - 30/Nov/07 10:42 AM So is the following request not a valid http request: GET 2/content HTTP/1.1 It must be: GET /2/content HTTP/1.1 ?

People

  • Assignee:
    Unassigned
    Reporter:
    Boyce Lee
Vote (0)
Watch (1)

Dates

  • Created:
    22/Oct/07 10:47 PM
    Updated:
    30/Nov/07 10:42 AM
    Resolved:
    28/Oct/07 7:07 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.