Oracle EBS登录页面显示空白

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle EBS登录页面显示空白相关的知识,希望对你有一定的参考价值。

问题描述

  由于ebs数据库需要闪回,在其他同事闪回数据库到之前某一天后,重启ebs应用,发现ebs客户端登录显示空白

以前也出现过类似问题,一般出现此问题,可以尝试以下操作:

1.重启应用

2.删除以下文件

$INST_TOP/ora/10.1.3/j2ee/forms/persistence/
$INST_TOP/ora/10.1.3/j2ee/oafm/persistence/
$INST_TOP/ora/10.1.3/j2ee/oacore/persistence/
执行adautocfg.sh
启动app

3.重建jsp

关闭应用

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

重启应用

但尝试以上操作后都无法解决问题,只好在ORACLE METLINK上搜索相关案例

查到ID 2036519.1和我相似

登录ebs的apps数据库

SQL> SELECT fnd_web_sec.validate_login(‘GUEST‘,‘ORACLE‘) FROM dual; 

FND_WEB_SEC.VALIDATE_LOGIN(‘GUEST‘,‘ORACLE‘) 
-------------------------------------------------------------------------------- 

SQL> select fnd_message.get from dual;

GET
--------------------------------------------------------------------------------
Oracle error -29548: ORA-29548: Java system class reported: release of Java syst
em classes in the database (12.1.0.2.161018 1.6) does not match that of the orac
le executable (12.1.0.2.170117 1.6) has been detected in FND_WEB_SEC.VALIDATE_PA
SSWORD.

从messige可知是由于oracle的补丁和数据库中的post install的补丁不一致导致的,是由于oracle程序补丁更新了,但没有post install,想起来所回退时间之后又打了最近季度的PSU补丁,回退后导致数据库没有post install

重新post install下psu补丁

SQL>sqlplus / as sysdba

SQL>shutdown immediate

SQL>startup upgrade

$cd $ORACLE_HOME/Opatch/

$./datapatch

SQL Patching tool version 12.1.0.2.0 Production on Fri May 12 21:23:46 2017
Copyright (c) 2012, 2016, Oracle. All rights reserved.

Connecting to database...OK
Bootstrapping registry and package to current versions...done
Determining current state...done
Adding patches to installation queue and performing prereq checks...done
Installation queue:
The following patches will be rolled back:
24315824 (Database PSU 12.1.0.2.161018, Oracle JavaVM Component (OCT2016))
The following patches will be applied:
24917972 (Database PSU 12.1.0.2.170117, Oracle JavaVM Component (JAN2017))
24732082 (DATABASE PATCH SET UPDATE 12.1.0.2.170117)

 

post install之后重启数据库,再次查询fnd_web_sec.validate_login(‘GUEST‘,‘ORACLE‘)的值

SQL> select fnd_web_sec.validate_password(‘GUEST‘,‘ORACLE‘) from dual;

FND_WEB_SEC.VALIDATE_PASSWORD(‘GUEST‘,‘ORACLE‘)
--------------------------------------------------------------------------------
Y

重启应用,打开页面正常

 

 

以下为oracle metlink上的说明

APPLIES TO:

Oracle Applications Technology Stack - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

SYMPTOMS

E-Business Suite 12.1.3 Applications Technology Stack, IAS for Applications Technology issues



Users unable to login to the application, and when attempting to login the following errors are reported in the log files:

15/07/20 14:13:32.570 html: chain failed
javax.servlet.ServletException: java.lang.RuntimeException: Guest user/pwd does not exist or match: GUEST/ORACLE
       at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:899)
       at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
       at _AppsLocalLogin._jspService(_AppsLocalLogin.java:307)
       at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
       at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
       at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)


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

1. Restart the system after 2015 PSU patching.

2. Login to E-Business Suite.

CHANGES

2015 PSU patching was performed and/or other system updates were completed.

CAUSE

April 2015 PSU was applied on the shared RDBMS oracle_home, but the RDBMS post install steps were not completed (Per Note 1933286.1#aref_section213) .

The 2015 PSU patch contains ojvm patches for the database JVM, which is also used by E-Business suite for authentication.  To confirm the issue test GUEST password validation via the following SQL:

SQL> SELECT fnd_web_sec.validate_login(‘GUEST‘,‘ORACLE‘) FROM dual; 

FND_WEB_SEC.VALIDATE_LOGIN(‘GUEST‘,‘ORACLE‘) 
-------------------------------------------------------------------------------- 


SQL> select fnd_message.get from dual; 

GET 
-------------------------------------------------------------------------------- 
PASSWORD_INVALID 
 

SOLUTION

To implement the solution test the following steps in a development instance where the problem can be reproduced and then migrate accordingly:

cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT

 



























































以上是关于Oracle EBS登录页面显示空白的主要内容,如果未能解决你的问题,请参考以下文章

Oracle EBS 启用关于此页

登录页面php代码在成功登录后无法在cpanel空白页面上运行

java web的html中调用servlet怎么显示空白页,点击登录后跳转过LoginServlet,但是页面显示空白。怎么回事?

Docker中的鳄梨酱图像获取空白登录页面

登录脚本显示空白页

Wordpress:升级后无法登录 - 重定向到空白页面