Release 12.2 Login Page Reports Error due to JOC Initialization Error When Using Long Value For <host>.<domain> (Doc ID 1925320.1)

Last updated on OCTOBER 04, 2016

Applies to:

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

Symptoms

After upgrading to R12.2 calling the EBS login page fails with the following error:

The system has encountered an error when servicing the request, Please try again. If the error persists, please contact the system administrator.

  

Check the following to confirm the issue is identical:

Verify the length of the host.domain used for the node running the WLS Managed Servers and confirm this is a long value (issue was reproduced with 40 characters, but exact minimum length is not known)

SQL> select node_name, webhost, length(webhost) length from fnd_nodes where node_name <> 'AUTHENTICATION'; 

Review of the log file oacore_server<x>.out reports following error from the request to login page:

<date timestamp> <Error> <ServletContext-/OA_HTML> <BEA-000000> <AppsLogin Servlet initialization failed ::
java.lang.NoClassDefFoundError: oracle/apps/fnd/profiles/Profiles
    at oracle.apps.fnd.sso.AppsLoginRedirect.AppsSetting(AppsLoginRedirect.java:353)
    at oracle.apps.fnd.sso.AppsLoginRedirect.init(AppsLoginRedirect.java:408)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    Truncated. see log file for complete stacktrace

This error is know to relate to Java Object Caching problem. Before this error is reported in the log file the following stack trace is reported (truncated for readability) confirming the same:

<date timestamp> <Error> <oracle.as.cache> <BEA-000000> <
java.lang.ArrayIndexOutOfBoundsException
    at oracle.ias.cache.groupv2.MemberID.<init>(MemberID.java:71)
    at oracle.ias.cache.groupv2.MemberID.generate(MemberID.java:37)
    at oracle.ias.cache.groupv2.Client.connect(Client.java:153)
    at oracle.ias.cache.groupv2.Client.init(Client.java:82)
    at oracle.ias.cache.groupv2.GroupMember.<init>(GroupMember.java:383)
    at oracle.ias.cache.groupv2.GroupMember.create(GroupMember.java:93)
    at oracle.ias.cache.groupv2.GrpCommunication.init(GrpCommunication.java:141)
    at oracle.ias.cache.groupv2.GrpCommunication.init(GrpCommunication.java:121)
    at oracle.ias.cache.Net.init(Net.java:104)
    at oracle.ias.cache.CacheInternal.initNet(CacheInternal.java:2924)
    at oracle.ias.cache.CacheInternal.init(CacheInternal.java:695)
    at oracle.ias.cache.CacheInternal.init(CacheInternal.java:370)
    at oracle.ias.cache.Cache.init(Cache.java:84)
    at oracle.apps.jtf.cache.IASCacheProvider.init(IASCacheProvider.java:298)
...
>
Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps.jtf.base.resources.FrameworkException: IAS Cache initialization failed
    at oracle.apps.jtf.cache.IASCacheProvider.init(IASCacheProvider.java:340)
    at oracle.apps.jtf.cache.CacheManager.activateCache(CacheManager.java:1452)
    at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:768)
    at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:390)
    at oracle.apps.fnd.cache.Cache.setCacheFullName(Unknown Source)
    at oracle.apps.fnd.cache.Cache.initCache(Unknown Source)
    at oracle.apps.fnd.cache.Cache.<init>(Unknown Source)
    at oracle.apps.fnd.cache.AppsCache.<init>(Unknown Source)
    at oracle.apps.fnd.cache.AolCaches.getCache(Unknown Source)
    at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
...
Caused by: oracle.apps.jtf.base.resources.FrameworkException:
J2EE JOC-044 An exception is occurring in the method. Cache.init
null
J2EE JOC-043 base exception:
null
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(Unknown Source)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(Unknown Source)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(Unknown Source)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(Unknown Source)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(Unknown Source)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(Unknown Source)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(Unknown Source)
    at oracle.apps.jtf.cache.IASCacheProvider.init(IASCacheProvider.java:340)
...

Changes

 New Release 12.2 environment created from fresh install or upgrade

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms