Jruby Error in tomcat

Hi,

I was running a load test on a jruby on rails application. I got the
followinbg error on tomcat :

SEVERE: Error: Couldn’t handle error: response committed
org/apache/catalina/connector/OutputBuffer.java:358:in realWriteBytes': org.apache.catalina.connector.ClientAbortException: null (NativeException) from org/apache/tomcat/util/buf/ByteChunk.java:354:inappend’
from org/apache/catalina/connector/OutputBuffer.java:381:in
writeBytes' from org/apache/catalina/connector/OutputBuffer.java:370:inwrite’
from org/apache/catalina/connector/CoyoteOutputStream.java:89:in
write' from org/apache/catalina/connector/CoyoteOutputStream.java:83:inwrite’
from sun.reflect.GeneratedMethodAccessor65:-1:in invoke' from sun/reflect/DelegatingMethodAccessorImpl.java:25:ininvoke’
from java/lang/reflect/Method.java:597:in invoke' from org/jruby/javasupport/JavaMethod.java:516:ininvokeDirectWithExceptionHandling’
from
file:/mbapp/tomcat6/webapps/ROOT/WEB-INF/lib/jruby-rack-1.0.0.jar!/jruby/rack/response.rb:54:in
write_body' from /mbapp/tomcat6/webapps/ROOT/WEB-INF/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:10:ineach’
from
/mbapp/tomcat6/webapps/ROOT/WEB-INF/vendor/rails/actionpack/lib/action_controller/response.rb:156:in
each' from /mbapp/tomcat6/webapps/ROOT/WEB-INF/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:9:ineach’
from
file:/mbapp/tomcat6/webapps/ROOT/WEB-INF/lib/jruby-rack-1.0.0.jar!/jruby/rack/response.rb:74:in
write_body' from file:/mbapp/tomcat6/webapps/ROOT/WEB-INF/lib/jruby-rack-1.0.0.jar!/jruby/rack/response.rb:37:inrespond’
from :1
…internal jruby stack elided…
from org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:354)
from
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)
from
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
from
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
from
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:83)
from sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
from
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
from java.lang.reflect.Method.invoke(Method.java:597)
from
org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:516)

Any idea what this is about?
Environment:

Jruby 1.5.0
Tomcat 6.0.26
Apache 2.2.4
Postgres 8.4

Thank you

I think I’ve seen this before, but you probably want to post to the
JRuby users list to get help.

Is this most recent versions of jruby-rack, jruby, etc?

  • Charlie

On Sat, Apr 23, 2011 at 11:11 AM, Prachi T.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs