ebs 系统 登录 java_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')

--------------------------------------------------------------------------------

N

SQL> select fnd_message.get from dual;

GET

--------------------------------------------------------------------------------

Oracle error -29548: ORA-29548: Java system class reported: release of Java syst

em classesin 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')

--------------------------------------------------------------------------------

N

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值