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?
> 
> 
> Dain Sundstrom wrote:
> 
>> I finally have Rice RUBiS code running my my server.  I had to toss 
>> their make based build system and I merged the web, servlet, and ejb 
>> tier's into a single ear (all of these were on a single box).  Later I 
>> will update the ant script to support the running of these on 
>> different tiers.
>>
>> Anyway, I am getting the errors in JETTY and JCA when running the test 
>> harness, and I'm looking for any help.  I'm using JBoss 3.0 HEAD, JDK 
>> 1.3.1_01, Mandrake Linux, PostgreSQL 7.1.  The stack traces 5-10 times 
>> under medium load (100 clients) follow:
>>
>> 13:20:35,384 WARN  [Jetty] WARNING: GET 
>> /servlet/edu.rice.rubis.beans.servlets.BrowseCategories 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:906)
>> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>> 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:715)
>> at java.lang.Thread.run(Thread.java:484)
>>
>>
>> 13:24:17,892 WARN  [Jetty] WARNING: Invalid length: 
>> Content-Length=3019 bytes written=11211 for 
>> http://localhost:8080/EJB_HTML/bid_now.jpg
>>
>>
>> 13:25:14,505 WARN  [Jetty] WARNING: Servlet Exception for 
>> 
>/servlet/edu.rice.rubis.beans.servlets.SearchItemsByCategory?category=14&categoryName=Pottery+%26+Glass&page=0&nbOfItems=20
> 
>>
>> 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.SearchItemsByCategory.doGet(SearchItemsByCategory.java:145)
> 
>>
>> 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
>>
>>
>>
>> 13:32:01,169 ERROR [JDBCCommand] Exception caught executing SQL
>> org.jboss.util.NestedSQLException: Interrupted while requesting 
>> permit!; - nested throwable: (javax.resource.ResourceException: 
>> Interrupted while requesting permit!)
>> at 
>> 
>org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalDataSource.java:106)
> 
>>
>> at 
>> org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getConnection(JDBCCommand.java:700) 
>>
>> at 
>> org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:168) 
>>
>> at 
>> 
>org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.execute(JDBCFinderCommand.java:114) 
>>
>> at 
>> 
>org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:200)
> 
>>
>> at 
>> 
>org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.findEntities(JAWSPersistenceManager.java:271)
> 
>>
>> at 
>> 
>org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:348)
> 
>>
>> at 
>> 
>org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:323)
> 
>>
>> at org.jboss.ejb.EntityContainer.find(EntityContainer.java:655)
>> at java.lang.reflect.Method.invoke(Native Method)
>> <snip>
>>  + nested throwable:
>> javax.resource.ResourceException: Interrupted while requesting permit!
>> at 
>> 
>org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:127)
> 
>>
>> at 
>> 
>org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:312)
> 
>>
>> at 
>> 
>org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:445)
> 
>>
>> at 
>> 
>org.jboss.resource.connectionmanager.LocalTxConnectionManager.getManagedConnection(LocalTxConnectionManager.java:224)
> 
>>
>> at 
>> 
>org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:510)
> 
>>
>> at 
>> 
>org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:789)
> 
>>
>> at 
>> 
>org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalDataSource.java:102)
> 
>>
>>
>> -dain
>>
>>
>>
>> -------------------------------------------------------
>> 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
> 
> 
> 





-------------------------------------------------------
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