My Oracle Support Banner

StackOverflowError With ApplicationScopeController With Display-Name Or Coherence-Application-Name. (Doc ID 1329162.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Coherence - Version: 3.5.3 to 3.6.1.2 - Release: AS10g to AS10g
Information in this document applies to any platform.

Symptoms


=== ODM Issue Clarification ===

A web application using Coherence*Web on Tomcat 5.5 runs into StackOverflowError if it uses ApplicationScopeController with either display-name ( < Coherence 3.6) or coherence-application-name (>= Coherence 3.6) being configured, if the log level is > 2.


[24/May/2011 12:17:28:187 IST] [ERROR] [main] [[/]] []
[Exception thrown by attributes event listener]
java.lang.StackOverflowError
...
...
at java.lang.StringBuilder.append(StringBuilder.java:115)
at com.tangosol.coherence.servlet.management.HttpSessionManager.toString(HttpSessionManager.java:476)
at java.lang.String.valueOf(String.java:2827)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at com.tangosol.coherence.servlet.SessionHelper.registerMBean(SessionHelper.java:626)
at com.tangosol.coherence.servlet.SessionHelper.configure(SessionHelper.java:283)
at com.tangosol.coherence.servlet.tomcat55.CookieHelper.configure(CookieHelper.java:77)
at com.tangosol.coherence.servlet.SessionHelper.ensureSessionHelper(SessionHelper.java:464)
at com.tangosol.coherence.servlet.api23.ServletContextAttributeListenerImpl.dispatch(ServletContextAttributeListenerImpl.java:101)
at com.tangosol.coherence.servlet.api23.ServletContextAttributeListenerImpl.attributeReplaced(ServletContextAttributeListenerImpl.java:67)
at org.apache.catalina.core.ApplicationContext.setAttribute(ApplicationContext.java:780)
at org.apache.catalina.core.ApplicationContextFacade.setAttribute(ApplicationContextFacade.java:337)
at com.tangosol.coherence.servlet.api23.ServletContextWrapper.ensureCluster(ServletContextWrapper.java:811)
at com.tangosol.coherence.servlet.api23.ServletContextWrapper.getAttributeMap(ServletContextWrapper.java:828)
at com.tangosol.coherence.servlet.api23.ServletContextWrapper.getDescription(ServletContextWrapper.java:727)
at com.tangosol.coherence.servlet.api23.ServletContextWrapper.toString(ServletContextWrapper.java:685)
at java.lang.String.valueOf(String.java:2827)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at com.tangosol.coherence.servlet.management.HttpSessionManager.toString(HttpSessionManager.java:476)
at java.lang.String.valueOf(String.java:2827)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at com.tangosol.coherence.servlet.SessionHelper.registerMBean(SessionHelper.java:626)
at com.tangosol.coherence.servlet.SessionHelper.configure(SessionHelper.java:283)
at com.tangosol.coherence.servlet.tomcat55.CookieHelper.configure(CookieHelper.java:77)
at com.tangosol.coherence.servlet.SessionHelper.ensureSessionHelper(SessionHelper.java:464)
at com.tangosol.coherence.servlet.api23.ServletContextAttributeListenerImpl.dispatch(ServletContextAttributeListenerImpl.java:101)
at com.tangosol.coherence.servlet.api23.ServletContextAttributeListenerImpl.attributeReplaced(ServletContextAttributeListenerImpl.java:67)
at org.apache.catalina.core.ApplicationContext.setAttribute(ApplicationContext.java:780)
at org.apache.catalina.core.ApplicationContextFacade.setAttribute(ApplicationContextFacade.java:337)
at com.tangosol.coherence.servlet.api23.ServletContextWrapper.ensureCluster(ServletContextWrapper.java:811)
at com.tangosol.coherence.servlet.api23.ServletContextWrapper.getAttributeMap(ServletContextWrapper.java:828)
at com.tangosol.coherence.servlet.api23.ServletContextWrapper.getDescription(ServletContextWrapper.java:727)
at com.tangosol.coherence.servlet.api23.ServletContextWrapper.toString(ServletContextWrapper.java:685)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
  Symptoms
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.