on 08-05-2005 2:39 PM
I am noticing a problem with a javascript .js file deployed in my web application. Web AS does not pick up new changes to this .js file. Web AS keeps picking up the older copy of the .js file deployed in a war file. I have deleted the ear file created under and redeployed:
/usr/sap/J2E/JC00/SDM/root/origin/sap.com/myapp/localhost/2005.06.24.08.27.35
Where is Web AS caching the deployed files? Why doesn't the refreshed copy of the .js get deployed? Rest of the application deploys fine except for the javascript file.
Can some one please comment on any similar experience?
Thanks for the help.
forced reload shift+refresh fixed the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ray,
static files like .js or .css are cached in the J2EE Engine's http cache. If the http cache is enabled you can't "fix" the problem with a shift+refresh. This only helps when the file is cached on client side.
You can clear the cache with the visual admin tool.
-> server
-> services
-> HTTP Provider
There, look for the trash can icon in the row on the top and click it. You may also edit the cache properties or just turn it off for development in the properties tab.
Regards, Karsten
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.