JSP is Recompiled at Runtime Even After Setting Precompile=True in weblogic.xml
Last updated on OCTOBER 26, 2016
Applies to:Oracle WebLogic Server - Version 10.0 to 10.3.3
Information in this document applies to any platform.
In case of web applications (webapps) deployed on WebLogic Server (WLS), each time the server is restarted, the Java Sever Pages (JSP) of the applications are recompiled.
In this scenario, when the request is sent to a particular JSP, this one is compiled at that time, resulting in performance issue for the first request, i.e., processing of the first request takes a long time.
To avoid this issue, the parameter precompile is set to true in the weblogic.xml file of the webapps which ideally should precompile all the JSPs at the time of server restart itself. But this parameter is ignored in some WLS versions.
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