FND_SESSION_MANAGEMENT.CHECK_SESSION When Logging On

---20140721

1. 问题现象:

Clone EBS 12.1.3后登陆提示如下:

Oracle error 1403: java.sql.SQLException: ORA-01403: no data found ORA-06512: at line 1 has been detected in FND_SESSION_MANAGEMENT.CHECK_SESSION. Your session is no longer valid.

Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details

2. 分析

主要是参考文档Doc ID 1336030.1

FND_SESSION_MANAGEMENT.CHECK_SESSION When Logging On

Problem: After disabling maintenance mode and logging on, the following error appears:

Oracle error 1403: java.sql.SQLException: ORA-01403: no data found ORA-06512: at line 1 has been detected in FND_SESSION_MANAGEMENT.CHECK_SESSION. Your session is no longer valid.

Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.

Solution:

1. Please execute the following scripts from $FND_TOP/patch/115/sql
SQL> @AFICXSMS.pls
SQL> @AFICXSMB.pls
Please ensure that the package FND_SESSION_MANAGEMENT is valid and confirm the version again.

2. Bounce the server.

Reference: Login Page Throws Error 1403: Java.Sql.Sqlexception: Ora-01403: No Data Found Ora-06512: At Line 1 H (Doc ID 1336030.1)

http://www.trinidba.com/

3. 问题解决

3.1. 执行脚本

[applsit@hrdb2 ~]$ cd $FND_TOP/patch/115/sql

[applsit@hrdb2 sql]$ sqlplus apps/**** @erpsit

SQL*Plus: Release 10.1.0.5.0 - Production on Sun Jul 20 07:39:34 2014

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> @AFICXSMS.pls

Package created.

Commit complete.

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

[applsit@hrdb2 sql]$ sqlplus apps/******@erpsit

SQL*Plus: Release 10.1.0.5.0 - Production on Sun Jul 20 07:40:01 2014

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> @AFICXSMB.pls

Package body created.

Commit complete.

clip_p_w_picpath004

3.2. 重启APACHE及应用

[applsit@hrdb2 sql]$ cd $ADMIN_SCRIPTS_HOME

adalnctl.sh adautocfg.sh adexecsql.pl adformsctl.sh adoacorectl.sh adopmnctl.sh adstpall.sh gsmstart.sh java.sh L2026219.log mwactl.sh

adapcctl.sh adcmctl.sh adforms-c4wsctl.sh adformsrvctl.sh adoafmctl.sh adpreclone.pl adstrtal.sh ieo jtffmctl.sh msc mwactlwrpr.sh

[applsit@hrdb2 scripts]$ ./adapcctl.sh stop

You are running adapcctl.sh version 120.7.12010000.2

Stopping OPMN managed Oracle HTTP Server (OHS) instance ...

opmnctl: stopping opmn managed processes...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /data/erpsit/inst/apps/erpsit_hrdb2/logs/appl/admin/log/adapcctl.txt for more information ...

[applsit@hrdb2 scripts]$ ./adapcctl.sh status

You are running adapcctl.sh version 120.7.12010000.2

Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...

Processes in Instance: erpsit_hrdb2.hrdb2.lashou.com

--------------------------------+--------------------+---------+---------

ias-component | process-type | pid | status

---------------------------------+--------------------+---------+---------

OC4JGroup:default_group | OC4J:oafm | 17033 | Alive

OC4JGroup:default_group | OC4J:forms | 16799 | Alive

OC4JGroup:default_group | OC4J:forms | 16798 | Alive

OC4JGroup:default_group | OC4J:forms | 16797 | Alive

OC4JGroup:default_group | OC4J:forms | 16796 | Alive

OC4JGroup:default_group | OC4J:oacore | 16500 | Alive

OC4JGroup:default_group | OC4J:oacore | 16499 | Alive

OC4JGroup:default_group | OC4J:oacore | 16498 | Alive

OC4JGroup:default_group | OC4J:oacore | 16497 | Alive

HTTP_Server | HTTP_Server | N/A | Down

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /data/erpsit/inst/apps/erpsit_hrdb2/logs/appl/admin/log/adapcctl.txt for more information ...

[applsit@hrdb2 scripts]$ ./adapcctl.sh start

You are running adapcctl.sh version 120.7.12010000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...

opmnctl: opmn is already running.

opmnctl: starting opmn managed processes...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /data/erpsit/inst/apps/erpsit_hrdb2/logs/appl/admin/log/adapcctl.txt for more information ...

[applsit@hrdb2 scripts]$ ./adapcctl.sh status

You are running adapcctl.sh version 120.7.12010000.2

Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...

Processes in Instance: erpsit_hrdb2.hrdb2.lashou.com

---------------------------------+--------------------+---------+---------

ias-component | process-type | pid | status

---------------------------------+--------------------+---------+---------

OC4JGroup:default_group | OC4J:oafm | 17033 | Alive

OC4JGroup:default_group | OC4J:forms | 16799 | Alive

OC4JGroup:default_group | OC4J:forms | 16798 | Alive

OC4JGroup:default_group | OC4J:forms | 16797 | Alive

OC4JGroup:default_group | OC4J:forms | 16796 | Alive

OC4JGroup:default_group | OC4J:oacore | 16500 | Alive

OC4JGroup:default_group | OC4J:oacore | 16499 | Alive

OC4JGroup:default_group | OC4J:oacore | 16498 | Alive

OC4JGroup:default_group | OC4J:oacore | 16497 | Alive

HTTP_Server | HTTP_Server | 11332 | Alive

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /data/erpsit/inst/apps/erpsit_hrdb2/logs/appl/admin/log/adapcctl.txt for more information ...

[applsit@hrdb2 scripts]$

p_w_picpath

还是无法登陆,重启ebs app后问题解决。

./adstpall.com

./ adstrtal