This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line!
See this thread for details.
Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

War file not getting deployed properly

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I made a war file, every file in this war is latest. But when I'm deploying this war on IBM Websphere 6.0. it is taking one JS file, the old one, which was there in the previous build. What could be the reason for this and how should I resolve this.

Thanks.

Naresh
 
author & internet detective
Posts: 41185
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Naresh,
When you look at the exploded war/ear on the WebSphere machine (under installedApps), does it have the latest JS file? If so, could you browser be caching it?
 
Naresh Daswani
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne,

Thanks for your reply.Yes, the latest JS file is there in the exploded war. Browser caching is not the problem as the same is happening on different different machines. One strange thing is when I'm trying to directly download the JS file from the server, it is returning the old JS file.

What could be the reason for this, Does server cache the js files somewhere.

Thanks and regards,
Naresh Daswani
 
Jeanne Boyarsky
author & internet detective
Posts: 41185
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm. Is there a web server or proxy that could be intercepting the request and caching the javascript file?
 
reply
    Bookmark Topic Watch Topic
  • New Topic