Updated JSP Files Copied to Deployed Application Does not get recompiled in Oracle Containers for J2EE 10g

(Doc ID 989583.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: to - Release: AS10gR2 to AS10gR3
Information in this document applies to any platform.
***Checked for relevance on 04-Oct-2011***


In OC4J 10g, after placing an updated JSP file to a previously deployed application path and accessing it, the updated JSP page is not loaded, but the old JSP page is.
Restarting OPMN and even restarting Windows do not solve the problem: old JSP page is loaded instead of the updated one.

Even though JSP container properties have been configured to recompile JSP (main_mode has been set to recompile), when there is change, the modified date of old JSP files is newer than the updated (new) JSP. If the JSP of modified date earlier than the current deployed one is placed, no such problem occurs.

It seem like the JSP runtime dispatcher is looking for a JSP file that has a timestamp greater than the timestamp for the corresponding .class file.


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