Tuesday, July 23, 2013

What happens if we remove the _pages under $COMMON_TOP in R12

In 11i after removing the class files under $COMMON_TOP/_pages new class files are created automatically when the JSP page is called from a browser session and JSP
In R12 if we done the same thing the login screen will hang or it shows blank page
Temporary Solution: compile the jsp pages using below command
Bash$ perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile --flush -p 2
Once completion of above command the new class files are created under $COMMON_TOP/_pages
Permanent solution:
When we check the Application context file it shows like below
<jsp_debug_parameters oa_var="s_jsp_main_mode">justrun</jsp_debug_parameters>
1. We have to change the s_jsp_main_mode from justrun to recompile in the context file.
2. Run the autoconfig to change the values related configuration files
3. How check whether autoconfig completed successfully or not
·         check in application context file
      <jsp_debug_parameters oa_var="s_jsp_main_mode">recompile</jsp_debug_parameters>
·         check the configuration file $INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml .
                    <param-name>main_mode</param-name>
                    <param-value>recompile</param-value>
Once completion of above activity the new class files are created under $COMMON_TOP/_pages

 Note:  on production recommended method is manual 'ojspcompile.pl'

No comments:

Post a Comment