Re: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread David Brown
Reynir Hübner writes: 

Hi,  

When using version tc. 4.1.14 this exception sometimes occures :  


java.lang.ArrayIndexOutOfBoundsException
at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:615)
at org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:407)
at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:901)
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:471)
at org.apache.coyote.Response.action(Response.java:214)
at org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:371)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:428)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:536) 


What should I bee looking at ?
-reynir 





Hello Reynir, difficult to get people to answer questions like these. it 
would be prudent to add: app type running (jsp, servlet, applet, cgi, html 
etc.) what were u trying to do w/ the application? what defines: platform, 
os, environment, config (apache, tomcat, other servlet container, j2ee 
container), network (firewall, proxies, public, private, etc.)? anything 
that may tip off an experienced developer as to what ur probem is and how to 
solve it. david. 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Remy Maucherat
Reynir Hübner wrote:

Hi, 

When using version tc. 4.1.14 this exception sometimes occures : 


java.lang.ArrayIndexOutOfBoundsException
at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:615)
at org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:407)
at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:901)
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:471)
at org.apache.coyote.Response.action(Response.java:214)
at org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:371)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:428)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:536)


What should I bee looking at ?

The exception can be ignored (it might happen only in the case of a 
client disconnect, so at this point, what happens doesn't really matter 
anymore; this also only causes a very small performance drop). The 
problem has been fixed in 4.1.16.

Remy


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



RE: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Reynir Hübner

Thanx remy!
-reynir

 -Original Message-
 From: Remy Maucherat [mailto:[EMAIL PROTECTED]] 
 Sent: 27. nóvember 2002 13:11
 To: Tomcat Users List
 Subject: Re: Coyote:: ArrayIndexOutOfBoundsException
 
 
 Reynir Hübner wrote:
  Hi,
  
  When using version tc. 4.1.14 this exception sometimes occures :
  
  
  java.lang.ArrayIndexOutOfBoundsException
  at 
 org.apache.coyote.http11.InternalOutputBuffer.write(InternalOu
 tputBuffer.java:615)
  at 
 org.apache.coyote.http11.InternalOutputBuffer.sendStatus(Inter
 nalOutputBuffer.java:407)
  at 
 org.apache.coyote.http11.Http11Processor.prepareResponse(Http1
 1Processor.java:901)
  at 
 org.apache.coyote.http11.Http11Processor.action(Http11Processo
 r.java:471)
  at org.apache.coyote.Response.action(Response.java:214)
  at 
 org.apache.coyote.http11.InternalOutputBuffer.endRequest(Inter
 nalOutputBuffer.java:371)
  at 
 org.apache.coyote.http11.Http11Processor.process(Http11Process
 or.java:428)
  at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
 r.processConnection(Http11Protocol.java:380)
  at 
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
 nt.java:508)
  at 
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
 ThreadPool.java:533)
  at java.lang.Thread.run(Thread.java:536)
  
  
  What should I bee looking at ?
 
 The exception can be ignored (it might happen only in the case of a 
 client disconnect, so at this point, what happens doesn't 
 really matter 
 anymore; this also only causes a very small performance drop). The 
 problem has been fixed in 4.1.16.
 
 Remy
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Shapira, Yoav
Hi,

 java.lang.ArrayIndexOutOfBoundsException
 at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffe
r.ja
snip

The exception can be ignored (it might happen only in the case of a
client disconnect, so at this point, what happens doesn't really matter
anymore; this also only causes a very small performance drop). The
problem has been fixed in 4.1.16.

Thanks Remy ;)  May I ask as to the manner of the fix?  Was it a simple
buffer size increase, or something more?  If you remember, I reported
this exception a while ago against 4.1.10-LE, and the buffer size
increase from 32K to 48K has made the problem go away for us.  But I was
worried that was just a band-aid ;)

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Neil Milne
You can see the fix in CVS - it was just a case of moving a few lines of 
code within the commit() method. Thanks to Remy for that!

Neil.
--
Neil MilneHippo IT Consultants Ltd


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]