Sebastiaan,
Yes you're right. I forgot to add something like isClosed() to your
SynchronizedOutputStream so I can check if it's closed before writing.
Anyways, I found that after a certain limit (for ex. 6000 -> 8000 users) the
system starts to behave incorrectly. Some clients never get an answe
Hi,
Did you synchronize the event.close() with same lock you use to write to
the output stream (the SynchronizedOuputStream instance)?
I saw exactly the same stack trace you are getting due to (incorrect)
concurrent access to the CoyoteOutputStream. The NullPointerException
suggest that the
Hi,
Thanks for the tip Sebastian, but it doesn't work for me. I added your
class, wrapped all the output streams and synchronized close events but the
result is the same.
Exception in thread "MessageSender[]" java.lang.NullPointerException
at org.apache.coyote.http11.InternalNioOutputBuff
Hi,
I had the same problems. It was a synchronization issue with me. What I
did was make a synchronized output stream wrapper (see attached file)
which wraps all access to the output stream, and I synchronized on this
output stream whenever I called event.close() on the Comet event
(especiall
Hi all,
I have been testing Tomcat comet support during the last days. I've created
a test application that simulates data streaming to multiple clients.
Clients open a connection to the server and the connection is hold open. In
the server there are several "sender" threads that leverage comet s
Vincent Demay wrote:
Hi all,
I'm working on server side pushing integration in Wicket, and I saw
Tomcat6 implements comet :
http://tomcat.apache.org/tomcat-6.0-doc/aio.html
Have you got a complete example of an application using cometProcessor?
I'm writing an example as we speak, but won't
Curious - with Comet I assume you can now have
multiple servlet requests share a single thread
if they are written cooperatively? I have just
written a "client side" that does this with
NIO. I am working on a system were a lot
of small requests and body chunks are being processed.
PK
At 1
On 3/22/07, Vincent Demay <[EMAIL PROTECTED]> wrote:
Hi all,
I'm working on server side pushing integration in Wicket, and I saw
Tomcat6 implements comet : http://tomcat.apache.org/tomcat-6.0-doc/aio.html
Have you got a complete example of an application using cometProcessor?
No real applicat
Hi all,
I'm working on server side pushing integration in Wicket, and I saw
Tomcat6 implements comet : http://tomcat.apache.org/tomcat-6.0-doc/aio.html
Have you got a complete example of an application using cometProcessor?
How can I use NIO connector?
Is there an implemantation of the Bayeux
Le Phuoc Canh wrote:
> Dear all,
> I don't know does tomcat support comet, if anybody know, please show me how
> to use it in tomcat.
http://tomcat.apache.org/tomcat-6.0-doc/aio.html
-
To start a new topic, e-mail: users@tomcat
Dear all,
I don't know does tomcat support comet, if anybody know, please show me how
to use it in tomcat.
Thanks & Best regard.
11 matches
Mail list logo