In my experience, we found a similar situation when we accidentally had a
whole webapp mapped to tomcat.  This is noticable if you have a lot of
images in your application the path to those images is
http://www.website.com/servlet/images/image.jpg.  All those images are
served by tomcat through mod_jk.  If the mod_jk logging is set too high, the
page will load really slow.

If you use the :8080 port, this would make tomcat serve everything
(including images) without using mod_jk, which would make it fairly quick,
but when you go through apache on 80, everything will be forced to funnel
through mod_jk.

Don't know if this is what is happening in your situation, but this
seemingly simple info would have really helped me a while back.

Good luck!

Brandon

-----Original Message-----
From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 2:12 PM
To: Ravindra K. Bhat
Cc: Tomcat Users List
Subject: RE: Web Pages Loads Slowly (fwd)



hi:

I chkecked out all the directories..and log file paths..they all seem to
be in order...

My pages load smoothly when i use domain_name:8080/servlet but when I use
just the domain name it still loads a little slower...

Any ideas? I am running apache 2.1 w/ tomcat 4.0.6 w/ mod_jk
Ravi

---------- Forwarded message ----------
Date: Tue, 21 Jan 2003 13:39:43 -0500
From: "Turner, John" <[EMAIL PROTECTED]>
Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
To: 'Tomcat Users List' <[EMAIL PROTECTED]>
Subject: RE: Web Pages Loads Slowly


Something is messed up...probably DNS-related (host name lookup for log
entries, etc).  Apache serving HTML pages is, for the majority of purposes,
instantaneous.  If there's a slow down, it's external to Apache or something
in your config.

John

> -----Original Message-----
> From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 1:33 PM
> To: Ravindra K. Bhat
> Cc: Tomcat Users List
> Subject: Web Pages Loads Slowly
>
>
> Hi:
>
> Any ideas on how to increase the loading speed of
> html(static) pages on
> Apache..I have integrated Apache 2.1 with tomcat 4.0.6..the
> servelts/jsp
> loads fine but the html pages seem to be loading slowly..
>
> Thanks..
> Ravi
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>

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



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



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

Reply via email to