Hi

I am trying to invoke more than one servlet from multiply resources at the
same time.  But at the moment i call them one after another.  The problem is
that if one of the servlets takes along time to do its work, and hangs, the
other processes wait to be executed.

I wish to use threads with the my servlet.  But if i am using a single
processor machine, the i/o of the first thread will use the processor till
it has finished, then the next etc and i wont see any difference with the
performance.

Is there any possibility in using native threads instead of green threads,
and how do you make the threads native???

Also, is there a way with tomcat to stop a connection that takes more than a
certain time.  These connections of mine aren't being timed out since the
servlet is hanging and the connection is live.  Is there something in the
connector tag in the server.xml file.


Glen


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

Reply via email to