• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changes in App are not Being Picked Up by All Machines

 
Steve Dyke
Ranch Hand
Posts: 1621
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IE 7.0
Websphere Application Server 6.0

I deployed a web app and then discovered a bug in a servlet file using system.out log on a particular code line. I fixed the bug on that line and actually added a couple of lines above it. But the error is still reporting on the original code line which is now a comment.

I have stopped the app and restarted it.
I have stopped the server and restarted it.

The only thing I can think of is that one or more machines on our network has cached the particular servlet code and it is not getting updated. May be the setting in IE is set to never on the Check for Newer Versions of Stored Pages.

Please help resolve this.
 
Rob Spoor
Sheriff
Pie
Posts: 20545
56
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add some headers to your files to prevent the browser from caching them. Adding header "Pragma: no-cache" usually works for my pages.

Anyway, I'm moving this to Servlets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic