You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Turner, John" <JT...@AAS.com> on 2002/11/19 16:18:18 UTC
GIF images don't show up on first request, but show up fine after
on 4.1.12
Hello -
We have an app running on 4.1.12.
In stand-alone mode, this URL works perfectly:
http://some.server.com:8080/myApp
http://some.server.com:8080 also works perfectly (myApp is the default app)
With Apache (2.0.43), using JK, the GIF images on the page show as broken
links the first time accessing this URL: http://some.server.com/
Refreshing the page, the GIF images show up fine, and on every page after
that.
The only time the images do not show up is when the request runs through
Apache, and it is the first request of the session. All other content on
the initial page (text, etc.) shows up just fine. Only the GIF image links
are broken, and only on the first request.
The Apache error logs say the image files don't exist, but then they are
found on the very next request.
I've searched the archives, but haven't found any posts that seem related.
Any ideas what might be wrong?
- John
============================================
John Turner
jturner@aas.com | 248-488-3466
Advertising Audit Service
http://www.aas.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: GIF images don't show up on first request, but show up fine after
on 4.1.12
Posted by Martin Jacobson <ma...@libero.it>.
Turner, John wrote:
> Hello -
>
> We have an app running on 4.1.12.
>
> In stand-alone mode, this URL works perfectly:
> http://some.server.com:8080/myApp
>
> http://some.server.com:8080 also works perfectly (myApp is the default app)
>
> With Apache (2.0.43), using JK, the GIF images on the page show as broken
> links the first time accessing this URL: http://some.server.com/
>
> Refreshing the page, the GIF images show up fine, and on every page after
> that.
>
> The only time the images do not show up is when the request runs through
> Apache, and it is the first request of the session. All other content on
> the initial page (text, etc.) shows up just fine. Only the GIF image links
> are broken, and only on the first request.
>
> The Apache error logs say the image files don't exist, but then they are
> found on the very next request.
>
> I've searched the archives, but haven't found any posts that seem related.
>
> Any ideas what might be wrong?
>
I assume that you have JK configured such that Apache *should* be
serving your static content, right?
If so, then surely, this is an Apache config problem, rather than a
tomcat problem?
I'm no Apache expert, but if you post the relevant bits of httpd.conf,
I'll take a look at it (It's the least I can do, having successfully set
-up Apache+jk+tc4.1.12 thanks to your HOWTO pages!)
Martin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>