Saturday, December 29, 2012

Home page does not open upon login on R12

Home page does not open upon login on R12:  

JSP Error:
________________________________________
Request URI:/OA_HTML/OA.jsp
Exception:
java.lang.ClassFormatError: oracle/apps/fnd/wf/worklist/webui/NtfUtil (Illegal constant pool type)

Solution :

Remove existing class file and add fresh file from another working instance. "(NtfUtil.java 115.148)"
NtfUtil.class  copy  to /u01/oracle/UAT/apps/apps_st/comn/java/classes/oracle/apps/fnd/wf/worklist/webui/
Note:
Workflow Notification Generates JSP Error [ID 795302.1]
++++++++++++++++++++++++++++++++++++

No Homepage screen is presented, neither an error message is brought up.

Solution :

1. Open a new Shell and source the APPS User Environment

2.  Run adadmin
a:- Choose the following options
b:- Generate Applications Files menu
c:- Generate product JAR files
à Do you wish to force regeneration of all jar files? [YES] ?

3.Change into the $FND_TOP Patch directory

cd $FND_TOP/patch/115/bin
a. Compile the JSP files using following command :

perl ojspCompile.pl --compile --flush -p 2

4. Initiate the execution of Autoconfig on the DB- and the APPS_Tier(s)

5. Start the APPS-Tier(s) Services again and re-test the logon

Note: ID :166650.1
R12 - Logon is not working, no error message is shown [ID 435550.1]
R12, 12.1 - How To Enable and Collect Debug for HTTP, OC4J and OPMN [ID 422419.1]
How to enable Apache, OC4J and OPMN logging in Oracle Applications R12 [ID 419839.1]
+++++++++++++++++++++
The login screen comes again instead of showing home page.

Solution :

1.Update   ICX_PARAMETERS SET SESSION_COOKIE_DOMAIN = 'myhostname.xx.in';

2.Bounce OACORE service

3.Retest

++++++++++++++++++++
The application.log file of the OACore OC4J shows the following error stack:
javax.servlet.ServletException: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: _RF
Dependent class: oracle.jsp.runtimev2.JspPageInfo        

Solution :

To implement the solution, please execute the following steps:
Either:
A. Set the JSP compilation to Automatic using the following steps:
1. Use the vi editor to edit the $CONTEXT_NAME.xml context file used by AutoConfig and change the value for "s_jsp_main_mode" from "justrun" to "recompile" (without the double quotes)

NOTE
~~~~~
Backup the context file before editing it.

2. Run Autoconfig to propagate the changes to the configuration files.

3. Verify that now the
$INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml has

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

4. Restart the Middle Tier services and access the applications to load JSP's which will cause them to be recompiled on the run.

5. After successfully accessing the applications, use the vi editor to edit the $CONTEXT_NAME.xml context file used by AutoConfig and revert the value for "s_jsp_main_mode" to "justrun" (without the double quotes) in order not to hamper the performance of your system.

EX:
[oracle@svrqatal2 ~]$ grep -i s_jsp_main_mode $CONTEXT_FILE
         <jsp_debug_parameters oa_var="s_jsp_main_mode">justrun</jsp_debug_parameters>

6. Run AutoConfig to propagate the changes.

NOTE
~~~~~
You can always use the next option to compile JSP's manually at any time.

OR
B. Recompile the JSP manually using the following steps:
1. Telnet to your server using applmgr user and source the environment by running the script:

/oracle/apps/apps_st/appl/APPS<SID>_<host>.env

2. Run the commands

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

+++++++++++++++++++++++++
Note:
How to Enable Automatic Compilation of JSP pages in R12 Environment [ID 458338.1]
Blank Page Accessing R12 - 'Missing class: _RF' in OACore application.log [ID 467562.1]

No comments:

Post a Comment