tamir>       java.io.InputStreamReader is = new
tamir> java.io.InputStreamReader(con.getInputStream()); 
                                 ^^^

Do each thread uses their own con?
each thread must create URLConection newly
inside run() if each thread need to connect 
to server in the same time.

regards,
Watanabe.

In the message "applet to servlet problem"
               <D054B0637615D611967000D0B78059CB0254F4@IBM3000>
tamir <[EMAIL PROTECTED]> wrote:

tamir> Hello everybody,
tamir> I'm quite sure it's not tomcat problem, however, I give it a shot, mainly
tamir> because I know all the people here
tamir> usually have great ideas...

tamir> I'm using tomcat 3.3.1b. 
tamir> I've an applet that runs several threads. Each thread calls to the server
tamir> using URLConnection.
tamir> Everything works fine, however, only 2-3 threads can simoulantously achieve
tamir> the
tamir> server, and the rest are waiting. When one thread finishes, the other one
tamir> can connect the server.

tamir> The "stuck" command is:
     
tamir>       java.io.InputStreamReader is = new
tamir> java.io.InputStreamReader(con.getInputStream()); 

tamir> I'm using the Applet tag to run my applet.

tamir> Do you have any clues for me ?

tamir> Best regards,
tamir> Tamir

tamir> --
tamir> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
tamir> For additional commands: <mailto:[EMAIL PROTECTED]>
tamir> Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to