[opencms-dev] OpenCMS Occassionally Serving wrong images
Brett Sheeran
brett.sheeran at gmail.com
Fri Oct 14 08:03:15 CEST 2011
Hi,
This is going to sound like a bizarre question, but is there the *faintest*
possibility that OpenCMS could be changing image "src" paths in HTML? The
reason I ask is that in the access logs we found two instances what appears
to be a browser requesting an image that shouldn't be in the
associated page. Details as follows.
Normally, a request for a particular page is closely followed by a request
for an associated image from the same IP address like so:
GET /opencms/folder1/page.html
...
GET /opencms/folder1/img/pic1.jpg
...
However, on 2 occasions, we have found instances where the request from the
same IP address was for an alternate image that shouldn't even by in the
page like so:
GET /opencms/folder1/page.html
...
GET /opencms/differentFolder/img/differentPic.jpg
...
This behaviour coincides with the user seeing the wrong image in place of
pic1.jpg
The image tag is hard coded in a JSP element like so:
<img id="tpposter" border="0" src="img/pic1.jpg" width="287px"
height="192px"/>
Whereas, there is absolutely no reference to differentPic.jpg in the page.
So, I can't see how it could possibility change. Furthermore, hitting the
refresh button 30 seconds later cleared the problem and there were no other
pages requests occurring at the same time.
I am going to try some stress testing and also rolling back to an earlier
version of Tomcat (as per Alex's suggestion).
I apologise for continuously bringing this up but it's driing me crazy.
Thank you.
Regards Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20111014/598baf2c/attachment.htm>
More information about the opencms-dev
mailing list