This week's giveaways are in the MongoDB and Jobs Discussion forums. We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line! See this thread and this one for details.
WLS8.1 serving old jsp pages after installing new ear file
Joined: Oct 16, 2003
We use Weblogic Server 8.1 SP4 on Sun Solaris. Typically, to install an upgrade to our web app - we bring Weblogic down, remove old package, install new package (via System V packaging pkgadd command), and restart Weblogic Server. Then once WLS is up, we test.
Last couple of installs, we have had to manually clear out the WLS cache files because WLS is serving up old pages instead of picking up the changes in our newly installed ear file.
We have never had to login to WLS console and hit redeploy button or anything else like that. It is our understanding that WLS should pick up the changes when you bounce it.
Are our assumptions wrong? Has anybody else had this problem and know why this is happening?
Joined: Apr 08, 2005
I have the same problem. Basically the old war file is cached by weblogic even after deploying the old war file. I have to manually remove the cached war file. The work around is when deploying a new war, deploy it with a new name(like test.build#.war).