I updated the source and I'm still getting errors on a very regular 
basis.  I don't think these are a problem for this test.  Here are the 
new stack traces:

20:24:10,394 WARN  [jbossweb] WARNING: GET 
/servlet/edu.rice.rubis.beans.servlets.ViewItem?itemId=1109 HTTP/1.1
java.lang.IllegalStateException: Not EDITABLE
at org.mortbay.http.HttpMessage.setVersion(HttpMessage.java:536)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:893)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:182)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:713)
at java.lang.Thread.run(Thread.java:484)


20:23:22,201 WARN  [jbossweb] WARNING: Exception for 
/servlet/edu.rice.rubis.bea
ns.servlets.ViewItem?itemId=1029
java.lang.NullPointerException
at 
org.mortbay.jetty.servlet.ServletHttpRequest.getRequestDispatcher(ServletHttpRequest.java:750)
at 
edu.rice.rubis.beans.servlets.ServletPrinter.printFile(ServletPrinter.java:61)
at 
edu.rice.rubis.beans.servlets.ServletPrinter.printHTMLheader(ServletPrinter.java:104)
at edu.rice.rubis.beans.servlets.ViewItem.printError(ViewItem.java:30)
at edu.rice.rubis.beans.servlets.ViewItem.doGet(ViewItem.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:348)
at 
org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplicationHandler.java:312)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1512)
at org.mortbay.http.HttpServer.service(HttpServer.java:792)
at org.jboss.jetty.Jetty.service(Jetty.java:531)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:182)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:713)
at java.lang.Thread.run(Thread.java:484)

20:20:00,091 WARN  [jbossweb] WARNING: Invalid length: 
Content-Length=3019 written=11211 for 
http://localhost:8080/EJB_HTML/bid_now.jpg

These bugs happen in any order and are easy to reproduce with the rice 
test code.


-dain

Jules Gosnell wrote:
> Greg Wilkins wrote:
> 
>>
>> Ouch - that does not look good!
>>
>> The > java.lang.IllegalStateException: Not EDITABLE
>> exception is thrown when something tries to modify a request
>> when it is not in a modifiable state.     This is normally when
>> the header has already been committed when sending the response.
>>
>> However, you are getting this while reading a request?!?!?
>>
>> There is either a nasty threading bug in Jetty - or somebody is holding
>> onto a request object and/or passing it to another thread.   Jetty
>> recycles requests objects, so requests cannot be given to other threads.
>>
>> Judging from the line numbers in your stack trace, I think you have
>> the Jetty-4.1.D2 version.   Jules, have you upgraded 3.0 to use
>> Jetty-4.1.B0 yet?    I thought Jules had, so Dain - you may want to
>> do a cvs update?
> 
> 
> I have....
> 
> Jules
> 
> 
>>
>> Not that B0 has any fixes for any no issues like this?
>>
>> What is the exact sequence of events?   Do these exceptions appear
>> in the order that your presented?
>>
>> cheers
>>
>> PS.  I'm going away tomorrow until next Tuesday - how urgent is this?
>>
>>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to