JSP Will Not Be Updated if working-dir is Set in weblogic.xml (Doc ID 1479772.1)

Last updated on NOVEMBER 25, 2014

Applies to:

Oracle Weblogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

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:

  1. via admin console, deploy test case WAR file
  2. modify jsp file, repackage WAR file
  3. via admin console, update WAR or delete the WAR then deploy again
  4. here see the jsp content is not updated

Changes

Applied patch for <Bug 10272125> - (WLS10.3.3)--JSP CONTENT DOES NOT CHANGE AFTER UPDATE THE APP (.WAR) ON CONSOLE.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms