Sterling Configurator Visual Modeler deployment on WebLogic: pre-compiling JSP pages

About this task

As an optional step, we suggest that you pre-compile the JSP pages before going live to improve performance. You can follow the instructions provided by the WebLogic JSP Reference (consult the document currently at this URL:
http://edocs.bea.com/wls/docs81/jsp/reference.html) to pre‑compile JSP pages.

WebLogic cleans up the directories of compiled JSP pages when the server is stopped and restarted. It is possible to use the weblogic.xml file to ensure that compiled JSP pages are preserved by specifying that the keepgenerated parameter is set to true, and specifying a working directory as follows:


<?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE weblogic-web-app
   PUBLIC "-//BEA Systems, Inc.//DTD Web Application 7.0//EN"
   "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd" >
<weblogic-web-app>
   <jsp-descriptor>
      <jsp-param>
         <param-name>
            keepgenerated
         </param-name>
         <param-value>
            true
         </param-value>
      </jsp-param>
      <jsp-param>
         <param-name>
            workingDir
         </param-name>
         <param-value>
            Comergent_jsp
         </param-value>
      </jsp-param>
   </jsp-descriptor>
</weblogic-web-app>