Hi,
I am having the same problem, and for me the reason is that when I am
running tomcat and netscape on the same mashine, netscape will use all the
cputime while waiting for the answer from tomcat. This is stupid since
netscape could just stay idle, but that is how it is. so as long as netscape
is in the foreground (active window) tomcat will get only very litle of the
cpu. To see this just keep taskmanager running sorted on %cpu usage, yuo
will see netscape using 99% of the cpu while doing nothing.
To solve this problem you can do the following:
- run tomcat on different server.
- increase the priority of tomcat.
- decrease the priority of netscape.
Alberto
-----Original Message-----
From: Jim Seach [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 09:10
To: [EMAIL PROTECTED]
Subject: Re: Servlet Runs SLow
Sorry, I'm out of ideas. The servlets I'm working on work fine in both
Netscape and IE. You may want to try to collect some more information
(log begin/end times in the servlet, use a network monitor to see what
is happening, try different Netscape settings) and see if anything
unusual is happening.
Jim
--- "A.L." <[EMAIL PROTECTED]> wrote:
> The first time I load the page in Netscape everything
> seems fine, it loads almost instantaneously.
> However, when I submit the query to change the month
> calendar, netscape takes a while to reload the page
> and show the new calendar. I can see that TOmcat
> receives the request immediately, and I assume that
> since Netscape appears to be loading it receives the
> response immediatley.
>
> Thanks,
> -Amos
>
>
> --- Jim Seach <[EMAIL PROTECTED]> wrote:
> > I copied the html into a static file and was able to
> > bring it up
> > immediately in Netscape 4.76, so it doesn't appear
> > to be the contents
> > of the form that is the problem.
> >
> > Does it take a long time to display, or does it just
> > not appear to
> > finish loading? I have also noticed that sometimes
> > even after the page
> > has loaded, Netscape still appears to be working.
> > So far, I have just
> > ignored it.
> >
> > Jim
> >
> > --- "A.L." <[EMAIL PROTECTED]> wrote:
> > > Below is the code that is returned:
> > >
> > > It seems that Netscape might have problems with
> > the
> > > FORM data. It does seem as if the server is
> > sending
> > > the reponse immediately. Or maybe it is having
> > > trouble with the javascript functions... Any
> > > suggestions
> > >
> > > (I am only running TOmcat by the way)
> > >
> > >
> > >
> > > <html>
> > > <head>
> > > <title>Calendar</title>
> > > </head>
> > > <BODY BGCOLOR="#FDF5E6">
> > > <FORM METHOD=POST ACTION="/jd/Calendar">
> > > <SELECT NAME="dates" MULTIPLE>
> > > <OPTION VALUE="Jan"> January </OPTION>
> > > <OPTION VALUE="Feb"> February</OPTION>
> > > <OPTION VALUE="Mar"> March</OPTION>
> > > <OPTION VALUE="Apr"> April</OPTION>
> > > <OPTION VALUE="May"> May</OPTION>
> > > <OPTION VALUE="June"> June</OPTION>
> > > </SELECT>
> > > <INPUT TYPE=SUBMIT>
> > > </FORM>
> > > March2001<form METHOD=GET
> > > NAME="date2"ACTION="/jd/Calendar"><input
> > type=hidden
> > > NAME="d"><script language="JavaScript">function
> > > choose(n){document.date2.d.value =
> > >
> >
>
n;document.date2.submit();}</script><table><tr><td></td><td></td><td></td><t
d></td><td><a
> > > href="javascript:choose(1)">1</a></td><td><a
> > > href="javascript:choose(2)">2</a></td><td><a
> > >
> >
> href="javascript:choose(3)">3</a></td></tr><tr><td><a
> > > href="javascript:choose(4)">4</a></td><td><a
> > > href="javascript:choose(5)">5</a></td><td><a
> > > href="javascript:choose(6)">6</a></td><td><a
> > > href="javascript:choose(7)">7</a></td><td><a
> > > href="javascript:choose(8)">8</a></td><td><a
> > > href="javascript:choose(9)">9</a></td><td><a
> > >
> >
> href="javascript:choose(10)">10</a></td></tr><tr><td><a
> > > href="javascript:choose(11)">11</a></td><td><a
> > > href="javascript:choose(12)">12</a></td><td><a
> > > href="javascript:choose(13)">13</a></td><td><a
> > > href="javascript:choose(14)">14</a></td><td><a
> > > href="javascript:choose(15)">15</a></td><td><a
> > > href="javascript:choose(16)">16</a></td><td><a
> > >
> >
> href="javascript:choose(17)">17</a></td></tr><tr><td><a
> > > href="javascript:choose(18)">18</a></td><td><a
> > > href="javascript:choose(19)">19</a></td><td><a
> > > href="javascript:choose(20)">20</a></td><td><a
> > > href="javascript:choose(21)">21</a></td><td><a
> > > href="javascript:choose(22)">22</a></td><td><a
> > > href="javascript:choose(23)">23</a></td><td><a
> > >
> >
> href="javascript:choose(24)">24</a></td></tr><tr><td><a
> > > href="javascript:choose(25)">25</a></td><td><a
> > > href="javascript:choose(26)">26</a></td><td><a
> > > href="javascript:choose(27)">27</a></td><td><a
> > > href="javascript:choose(28)">28</a></td><td><a
> > > href="javascript:choose(29)">29</a></td><td><a
> > > href="javascript:choose(30)">30</a></td><td><a
> > >
> >
> href="javascript:choose(31)">31</a></td></tr></FORM></table>
> > > <TABLE>
> > > <TR><TH>First_Name</TR>
> > > <TR><TD>Amos</TR>
> > > <TR><TD>Jeff</TR>
> > > <TR><TD>Steve</TR>
> > > <TR><TD>Cathy</TR>
> > > <TR><TD>Patricia</TR>
> > > <TR><TD>Cary</TR>
> > > <TR><TD>Tom</TR>
> > > </TABLE>
> > >
> > > </body>
> > > </html>
> > >
> > > --- Jim Seach <[EMAIL PROTECTED]> wrote:
> > > > I agree - it's worth looking at the client. Do
> > you
> > > > have any large
> > > > tables? I have had problems in the past with
> > > > Netscape taking a long
> > > > time (> 5 min) to load tables with several
> > thousand
> > > > rows.
> > > >
> > > > Jim
> > > >
> > > > --- Denis Haskin <[EMAIL PROTECTED]>
> > wrote:
> > > > > Do you know for sure the difference in 'load'
> > time
> > > > is at the server,
> > > > > and
> > > > > not at the client? What's the content coming
> > back
> > > > from the server?
> > > > > I
> > > > > would grab a copy of that, put it in a file,
> > and
> > > > load that in IE and
> > > > > Netscape to see if there's any difference in
> > load
> > > > times.
> > > > >
> > > > > I suppose it's possible that IE and Netscape
> > are
> > > > sending different
> > > > > http
> > > > > headers that are getting handled differently
> > at
> > > > the server, but this
> > > > > seems unlikely.
> > > > >
> > > > > Are you sending these requests straight to
> > Tomcat,
> > > > or are they going
> > > > > through a web server first?
> > > > >
> > > > > dwh
> > > > >
> > > > > A.L. wrote:
> > > > >
> > > > > >Why WOuld a servlet which runs perfectly
> > normal
> > > > in
> > > > > >Explorer take a long time to load in
> > Netscape?
> > > > On the
> > > > > >Tomcat Console Window I see the request
> > coming in
> > > > > >immediately, but for some reason Netscape
> > won't
> > > > load
> > > > > >quickly.
> > > > > >-Amos
> > > > > >
> > > > >
> > > >
> > >__________________________________________________
> > > > > >Do You Yahoo!?
> > > > > >Make international calls for as low as
> > > > $.04/minute with Yahoo!
> > > > > Messenger
> > > > > >http://phonecard.yahoo.com/
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > __________________________________________________
> > > > Do You Yahoo!?
> > > > Make international calls for as low as
> > $.04/minute
> > > > with Yahoo! Messenger
> > > > http://phonecard.yahoo.com/
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Make international calls for as low as $.04/minute
> > with Yahoo!
> > > Messenger
> > > http://phonecard.yahoo.com/
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> > with Yahoo! Messenger
> >
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo!
> Messenger
> http://phonecard.yahoo.com/
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/