• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Changes in App are not Being Picked Up by All Machines

 
Ranch Hand
Posts: 2206
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Seriously Rick? Seriously? You might as well just read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic