Thursday, 26 November 2015

Unable To Open The E-Business Suite Login HTTP-404 Error in R12(12.1.X). Error_log Shows "File does not exist: $INST_TOP/portal/OA_HTML/AppsLogin"



When users try to open the ebiz login page the following error occurs

ERROR
-----------------------
HTTP-404 Page Not Found

The following can be seen in the error_log



[Thu Aug 5 10:25:12 2010] [error] [client 0.0.0.0] [ecid: 1280984112:0.0.0.0:0000:0:1,0] File does not exist: /$INST_TOP/portal/OA_HTML/AppsLogin
[Thu Aug 5 10:25:15 2010] [error] [client 0.0.0.0] [ecid: 1280984115:0.0.0.0:0000:0:1,0] File does not exist: /$INST_TOP/portal/OA_HTML/AppsLogin

The issue can be reproduced at will with the following steps:

1:- Apply the following patches

Patch 9578148 ORACLE APPLICATIONS RELEASE 12.1: CPU PATCH FOR JULY 2010
Patch 9794645 July 2010 CPU
Patch 9831092 July 2010 CPU
Patch 8626084 PLACEHOLDER BUG TO UPLOAD AS 10.1.3.5 PATCH-SET ON ARU

Note:- This could also occur with any patch that contains new java code.

OR

1:- Copy java classes, .jar or .zip files into JAVA_TOP

2:- Attempt to login using the URL

http://hostname.domain:port/OA_HTML/AppsLogin

Impact

Due to this issue, users cannot connect to the E-Business suite.


CASUE:


The problem can be caused by 2 issues

Problem 1:- Corruption or mismatch with the _AppsLocalLogin java class in the ojsp.jar file.

When running the ojspCompil.pl command the logfile shows an error

perl ojspCompile.pl --compile --flush -p 20 -log /tmp/ojspc_error.log
[28964] compiling: 3m14s elapsed, 100 successful 0 failed
[28969] !!COMPILATION ERROR(0) AppsLocalLogin.jsp:
_AppsLocalLogin.java:1086: cannot find symbol
symbol : method recalcSignature(java.lang.String,oracle.apps.fnd.common.WebAppsContext)
location: class oracle.apps.fnd.sso.SSOManager
(String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx)));
^
_AppsLocalLogin.java:1094: cannot find symbol
symbol : method recalcSignature(java.lang.String,oracle.apps.fnd.common.WebAppsContext)
location: class oracle.apps.fnd.sso.SSOManager
(String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx)));
^
Note: _AppsLocalLogin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors

Problem 2:- There is a bad .zip or .jar file in $JAVA_TOP

The following error can be found in the OACORE std.out logs in $LOG_HOME/ora/10.1.3/j2ee/oacore/
error: error reading $JAVA_TOP/<BAD ZIP OR JAR>; error in opening zip file


SOLUTION
To implement the solution, please execute the following steps on all web tiers:

Problem1

1:- Log a telnet session into the web tier and set the E-Business suite environment

2:- Run adadmin

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

3:- Shutdown the E-business suite middle tier services

4:- Run the commands below
cd $FND_TOP/patch/115/bin
perl ojspCompile.pl --compile --flush -p 20 -log /tmp/ojspc_error2.log

4a:- Run autoconfig on both db and apps tiers

5:- Start the E-Business suite middle tiers services

6:- Retest the issue.

7:- Migrate the solution as appropriate to other environments.

Problem 2

1:- Shutdown the E-business suite middle tier services

2:- Delete the offending .zip or .jar file as specific in the OACORE logfile
rm $JAVA_TOP/<BAD ZIP OR JAR>

3:- Start the E-business suite middle tier services

4:- Re-test the issue


Ref:(Doc ID 1177264.1)

1 comment:

  1. If you had financial problems, then it is time for you to smile. You only need to contact Mr. Benjamin  with the amount you wish to borrow and the payment period that suits you and you will have your loan in less than 48 hours. I just benefited for the sixth time a loan of 700 thousand dollars for a period of 180 months with the possibility of paying before the expiration date. Make contact with him and you will see that he is a very honest man with a good heart.His email is lfdsloans@lemeridianfds.com and his WhatApp phone number is + 1-989-394-3740 

    ReplyDelete