Friday, February 26, 2010

R12 : Getting Blank Page

Dear Readers,

Recently we had an issue with one of our development instance where the clients were getting blank page when they were accessing the web URL.

After investigating the log files under $LOG_HOME/ora/10.1.3/Apache/*, $LOG_HOME/ora/10.1.3/opmn/* and $LOG_HOME/ora/10.1.3/j2ee/* directory, I came to know that someone removed _pages directory from $COMMON_TOP and the _pages directory was empty.

When I checked the file $INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml, I saw the following entries,

<init-param>
<param-name>main_mode</param-name>
<param-value>justrun</param-value>
</init-param>
</servlet>

So, When main_mode = justrun the OC4J container running the OACoreGroup is told that no compilation on the fly is allowed and only (pre)compiled classes are picked up. Since these have been removed the processing of the JSP page is blocked.

Finally as workaround, we regenerated the JSP file using the following commends,

$FND_TOP/patch/115/bin/perl ojspCompile.pl --compile --flush -p 2

and as Long Team Fix, we made the following changes on $INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml file on all FE servers,

From :

<init-param>
<param-name>main_mode</param-name>
<param-value>justrun</param-value>
</init-param>
</servlet>

To :

<init-param>
<param-name>main_mode</param-name>
<param-value>recompile</param-value>
</init-param>
</servlet>

and Changed the following in $CONTEXT_FILE,

From : <jsp_debug_parameters oa_var="s_jsp_main_mode">justrun</jsp_debug_parameters>
To : <jsp_debug_parameters oa_var="s_jsp_main_mode">recompile</jsp_debug_parameters>

Reference Oracle Support Note : JSP Pages Hanging in R12 After Removing Cached Class Files in _pages [ID 433386.1]

Comments are most welcome.....

Thanks.

No comments:

Post a Comment