Saturday, April 4, 2009

Unable to login to R12 after SSO integration

Introduction

I am now working on the E-Business Suite Release 12 upgrade project. The login page broke after integrating the R12 development system with Oracle Single Sign-On. We recieved 'HTTP 500 Internal Server Error'. Furthermore, the local login page (/OA_HTML/AppsLocalLogin.jsp) too was not getting rendered.


Problem


This certainly seemed to a java servlet initialization problem in the Oracle OC4J. I noticed the following errors in the $INST_TOP/logs/ora/10.1.3/j2ee/oacore/oacore_default_group_1/application.log

Error initializing servletjava.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.profiles.Profiles
html: chain failed javax.servlet.ServletException at com.evermind[Oracle Containers for J2EE 10g


I could not a direct answer after searching the Oracle Support website. I was able to better understand the problem after reviewing the $INST_TOP/logs/ora/10.1.3/opmn/oacore_default_group_1/oacorestd.err logfile.

Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps.jtf.base.resources.FrameworkException: IAS Cache initialization failed.


Solution


The problem has something to do with the Java Cache. I went ahead and disabled the cache mechanism by setting the parameter LONG_RUNNING_JVM to false in the $INST_TOP/ora/10.1.3/j2ee/oacore/config/oc4j.properties and this solved the problem.I will update this article once I know the root cause why the Cache failed to initialize after the SSO integration.

5 comments:

Aditya Apparao said...

Same issue 2 weeks ago and I did the same workaround. I have a SR open with Oracle but no solution.
Please let me know if you find the cause.

Anonymous said...

Aditya,

This is an already published metalink note. I dont know why SR with oracle was required

Srinivas Ramineni said...

BTW, this issue is different in 3 days

1) This is R12 - 12.0.6 . So not exactly like 11i
2) This issue is happening only after integrating with SSO.

3) The oacore application.log file contains
"
Error initializing servletjava.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.profiles.Profiles
html: chain failed javax.servlet.ServletException at com.evermind[Oracle Containers for J2EE 10g
"



Each issue is different. If Metalink notes alone is sufficient, then we will not have any SRs at all !

Mark said...

Hi

Thanks for your solution. We hit the issue after moving a server to a different subnet and changing IP, no SSO integration.

Regards
Mark

Nutty said...

Wonderful solution. We hit the same problem after applying few patches.

But the solution works as the error is same.

Thanks,
Nitin

Related Posts Plugin for WordPress, Blogger...