Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Tomcat 6 to serve both static content and dynamic content. For some reason, from time to time, I see that images are broken.

It usually happens when I copy and paste the image URL to the browser. When I refresh the image appears. The server has zero load on it.

Has anyone encountered such issue with Tomcat?

share|improve this question

migrated from stackoverflow.com May 16 '12 at 14:05

This question came from our site for professional and enthusiast programmers.

One possibility is that you accessed the image URLs when they were not available (server not up, still working on setup, etc.), and the browser cached the response. Refreshing then bypasses the cache and gets the now available image. – kaliatech May 15 '12 at 14:16

When a Tomcat 6 server is freshly started, or when a web app is dynamically loaded, the content is not accessible for a number of seconds.

I sometimes see this type of problem on my development server around the time when I am restarting the web app.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.