And if it takes long enough the browser will give up and time out. Thus giving the appearance of Tomcat not serving on the first request.

Doug

----- Original Message ----- From: "Hugh Morgan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, May 18, 2006 6:59 AM
Subject: Re: tomcat doesn't deliver page on first call


Newbie answer: Are you sure you are waiting long enough? The fisrt timre a page is requested tomcat does the compilation, and so it can take quite a while (a few seconds). After this the page is servered much quicker.

HTH,

Hugh

Abid Hussain wrote:
Hi everybody,

After restarting Tomcat (5.0.28), it doesn't deliver the requested jsp-page on the first calls.

I have to hit about 5-8 times the reload-button until tomcat delivers the requested page (e.g. index.jsp). Also this problem sometimes turns up when calling servlets for the first time after restart, even when tomcat is running already for about 10 minutes.

Is this a normal behavior? Is there anything to do in the configuration files (server.xml, etc.) about this?

Maybe this Problem is because the machine where tomcat is running on (1 GHZ CPU, 512MB RAM) is not powerful enough?

Has anyone an idea about this?

Best Regards,

Abid




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to