JSP Will Not Be Updated if working-dir is Set in weblogic.xml
Last updated on FEBRUARY 07, 2018
Applies to:Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
When <working-dir> is set in the <jsp-descriptor> in weblogic.xml, the JSPs are not refreshed with the new content even after application redeploy. The issue only occurs when the server runs in PRODUCTION mode and <page-check-seconds> is not set (so the default value -1 is used). Due to this issue, users have to delete subfolder jsp_servlet under "working-dir" folder manually. The snippet of <jsp-descriptor> in weblogic.xml:
The issue can be reproduced at will with the following steps:
- via admin console, deploy test case WAR file
- modify jsp file, repackage WAR file
- via admin console, update WAR or delete the WAR then deploy again
- here see the jsp content is not updated
Applied patch for <Bug 10272125> - (WLS10.3.3)--JSP CONTENT DOES NOT CHANGE AFTER UPDATE THE APP (.WAR) ON CONSOLE.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms