tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burak Oguz" <burak.o...@gmail.com>
Subject TCP RST on rapid data in NIO Connector
Date Mon, 03 Nov 2008 12:38:11 GMT
Hi,

I am using Tomcat 6.0.18 with NIO Connector with Comet. And I have crashed
into a real problem. I want to use Comet to transfer data on high rate over
http but Tomcat gives such an error when data starts to come too rapid. I
have a multithreaded architecture behind Tomcat to handle connections as in
the example application. Are there anyone who met this problem before? Any
ideas will greatly appreciated... Thanks in advance...

Exception in thread "MessageSender[]" java.lang.NullPointerException at
org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(
InternalNioOutputBuffer.java:607)
at org.apache.coyote.http11.InternalNioOutputBuffer.commit(
InternalNioOutputBuffer.java:600)
at org.apache.coyote.http11.Http11NioProcessor.action(
Http11NioProcessor.java:1032)
at org.apache.coyote.Response.action(Response.java:181)
at org.apache.coyote.http11.InternalNioOutputBuffer.doWrite(
InternalNioOutputBuffer.java:571)
at org.apache.coyote.Response.doWrite(Response.java:560) at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(
OutputBuffer.java:353)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java :434)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
at org.apache.catalina.connector.OutputBuffer.writeBytes(
OutputBuffer.java:381) at org.apache.catalina.connector.OutputBuffer.write(
OutputBuffer.java:370)
at org.apache.catalina.connector.CoyoteOutputStream.write(
CoyoteOutputStream.java:89)
at org.apache.catalina.connector.CoyoteOutputStream.write(
CoyoteOutputStream.java:83)
at com.cognotec.streaming.SynchronizedOutputStream.write(
SynchronizedOutputStream.java:25)
at com.cognotec.streaming.CometRateSender.run(CometRateSender.java :86)
at java.lang.Thread.run(Thread.java:595)



-- burak

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message