"java.lang.StackOverflowError at oracle.security.jps.util.JpsSubjectDomainCombiner.optimize" SOA Server Crashed Or Restarted Automatically (Doc ID 1364746.1)

Last updated on DECEMBER 12, 2013

Applies to:

Oracle SOA Suite - Version 11.1.1.4.0 and later
Information in this document applies to any platform.
***Checked for relevance on 12-December-2013***

Symptoms

SOA Server is getting crashed / re-started (If started through nodemanager) with the below Exception stack trace in the server log after the server running for couple of hours/days (Sporadic issue).

Exception:

javax.ejb.EJBException: EJB Exception: : java.lang.StackOverflowError
at oracle.security.jps.util.JpsSubjectDomainCombiner.optimize(JpsSubjectDomainCombiner.java:681)
at oracle.security.jps.util.JpsSubjectDomainCombiner.combineInternal(JpsSubjectDomainCombiner.java:510)
at oracle.security.jps.util.JpsSubjectDomainCombiner.combine(JpsSubjectDomainCombiner.java:484)
at java.security.AccessControlContext.optimize(AccessControlContext.java:358)
at java.security.AccessController.getContext(AccessController.java:490)
at oracle.security.jps.util.JpsAuth$Diagnostic.determineCurrentSubject(JpsAuth.java:284)
at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:294)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$5.checkPermission(JpsAuth.java:397)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:439)
at oracle.security.jps.util.JpsSubjectDomainCombiner.getSubject(JpsSubjectDomainCombiner.java:411)
at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:294)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$5.checkPermission(JpsAuth.java:397)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:439)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:302)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
at sun.reflect.GeneratedMethodAccessor1158.invoke(Unknown Source)

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