aspose file tools*
The moose likes Servlets and the fly likes Changes in App are not Being Picked Up by All Machines Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Changes in App are not Being Picked Up by All Machines" Watch "Changes in App are not Being Picked Up by All Machines" New topic
Author

Changes in App are not Being Picked Up by All Machines

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1391
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

Joined: Oct 27, 2005
Posts: 19543
    
  16

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changes in App are not Being Picked Up by All Machines
 
Similar Threads
javac doesn't see the servlet.jar file
Custom WebApp servlet url problem
Kindly help with this HTTPS issue many thanks
Timers
destroy() and killing servlet threads