May be your servlet should close connection after data is sent.

and/or your program should close connection with server before second
request.

If your program connection keeps open because of keep alive then
second request is sent via old connection that is assigned to servlet
that have not completed its job.




Monday, June 11, 2007, 9:00:36 PM, you wrote:

SH> I am using tomcat version:5.5.20 java version:1.6.0-b105 os version:
SH> intel solaris 5.10
SH> scenario is: my java program call a servlet which return to my java
SH> program using sendData and then goes into a loop to perform other 
SH> functions.  Now after i get the control back in my java program i try to
SH> call another servlet on the same tomcat, but it waits until the previous
SH> servlet call (which was in a loop to perform other functions) is done.
SH> I have these settings in my servler.xml for thread pooling: 
SH> maxThreads="1000" minSpareThreads="100" maxSpareThreads="200" 
SH> acceptCount="500".  Can somebody please how to fix this problem ?



SH> This electronic mail message and any attachments may contain
SH> information which is privileged, sensitive and/or otherwise exempt
SH> from disclosure under applicable law. The information is intended
SH> only for the use of the individual or entity named as the
SH> addressee above. If you are not the intended recipient, you are
SH> hereby notified that any disclosure, copying, distribution
SH> (electronic or otherwise) or forwarding of, or the taking of any
SH> action in reliance on, the contents of this transmission is
SH> strictly prohibited. If you have received this electronic
SH> transmission in error, please notify us by telephone, facsimile,
SH> or e-mail as noted above to arrange for the return of any
SH> electronic mail or attachments. Thank You.



SH> ---------------------------------------------------------------------
SH> To start a new topic, e-mail: users@tomcat.apache.org
SH> To unsubscribe, e-mail: [EMAIL PROTECTED]
SH> For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Best regards,
 Dima                            mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to