Nitin Kulkarni wrote:
> Dear Friends,
>
> I am writing this mail only after searching thru the archives and some of
> the web sites.
>
> I could not find a relevant answers though there were a few pointers.
>
> I have an application which spawns threads. Each of this thread tries to
> connect to a servlet running on Java Webserver 2.0 evaluation version. The
> servlet is expected to send a response back to every thread.
>
> Everything was fine till I created around 10-15 threads. However as the
> number of threads went on increasing I started getting
> java.net.ConnectException for some threads.
>
> The final message I got for those threads which failed was
> FileNotFoundException stating that the servlet could not be found.
>
> Now the question is that why do some threads get ConnectException while some
> don't.
>
> Please let me know your views.
>
> Nitin
> [...]
Hi :-) I am not sure, but I guess:
if you get FileNotFoundException, perhaps it means that now your Servlet
container
doesn't start a new thread for your accessing, so your service/doGet/doPost
doesn't
be invoked, so your accessing doesn't get a *response*. I just guess perhaps
now
your Servlet container doesn't support more than 15 co-current accessings, is it
possible
for you to set some parameters of your Servlet container to increase this number
? :-)
Bo
Nov.30, 2000
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html