tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tamir <ta...@movious.com>
Subject RE: applet to servlet problem - JVM problem ?
Date Sun, 10 Mar 2002 09:01:44 GMT
Hi,
I've checked again my applet and ensured that I'm calling openConnection
each time.

However, I've discovered that when I'm running this applet using java-plugin
it
works well(all the servelt requests are called simoulatnously).
Nevertheless, I still would like it to work without the plug-in.

Does anybody have something close that works without the plugin ?
I'd really appreciate your help.

Tnx,
Tamir





-----Original Message-----
From: Toru Watanabe [mailto:t-watanabe@du.jp.nec.com]
Sent: Friday, March 08, 2002 3:22 AM
To: Tomcat Users List
Subject: Re: applet to servlet problem



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 <tamir@movious.com> 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:tomcat-user-unsubscribe@jakarta.apache.org>
tamir> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
tamir> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message