Release 12.0 and 12.1 using OC4J:
In Release 12 the (automatic) compilation of a JSP is disabled and, at runtime,
only the pre-compiled JSP's are picked up.
In cases where development activities are done and JSP pages are changing often this default setting makes things more complicated. Each time a JSP is deployed a manual compilation using the ojspCompile.pl is needed and the OC4J running the oacore needs a restart to pick up the changes.
This will also affect other people working on the same environment.
<param-name>main_mode</param-name>
<param-value>recompile</param-value>
</init-param>
Release 12.2 using WLS:
In Release 12 the (automatic) compilation of a JSP is disabled and, at runtime,
only the pre-compiled JSP's are picked up.
In cases where development activities are done and JSP pages are changing often this default setting makes things more complicated. Each time a JSP is deployed a manual compilation using the ojspCompile.pl is needed and the OC4J running the oacore needs a restart to pick up the changes.
This will also affect other people working on the same environment.
This can be achieved by performing the following:
- Login into E-Business suite and select System Administrator responsibility
- Select function AutoConfig (under Oracle Applications Manager) (*)
- For each web tier server perform the following:
- Click on pencil icon under Edit Parameters
- Select tab System
- Expand section jtff_server
- Change value for the entry s_jsp_main_mode from justrun to recompile
- Confirm the change by clicking Save button
- Run AutoConfig to propagate the changes to the configuration files
- Verify that the $INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml has the following:
<param-name>main_mode</param-name>
<param-value>recompile</param-value>
</init-param>
- Restart the web tier services
- Request a JSP in the browser which is compiled. See that a new _<jspname>.class is created in _pages
- Make a change in the JSP file
- Request it again in the browser. See that _<jspname>.class is 'refreshed' in _pages and the change is seen in the browser
Release 12.2 using WLS:
- In Release 12.2 it's currently not possible to enable automatic recompilation of JSP pages.
No comments:
Post a Comment