I am a bit loss reading your message.

is the flow like this ?
a java program called a servlet in multi thread mode
while the request is being processed, the java program called another
process and somehow end up in calling another servlet in the same manner as
above. But then the program have to wait the 1st call to finish instead of
it running on seperate thread.

Am i true ?
if truethen the mistake is at your java program and not at tomcat. If you
need thread pooling, you can use jdk5's ExecutorService.


On 6/12/07, Siraj Haider <[EMAIL PROTECTED]> wrote:

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



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



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




--
-Andre-

People see things the way they are and say "why ?" I see things that never
were and say "Why not ?"

Reply via email to