Why "java.lang.StackOverflowError" occurred?
Issue
- Why Java application server (JBoss EAP or Tomcat) shuts down automatically with
StackOverflowError? - Why
stackoverflow erroris seen in the logs when the "session data is being replicated"? - Why I'm getting
StackOverflowErrorwhen deploying EAR file? - Why
liferayWAR application deployment fails with nested exception isjava.lang.StackOverflowError? - Why following error is coming in the JBoss
"server log"?
ERROR [org.jboss.mx.loading.LoadMgr3] Not rescheduling failed loading task,
loadTask=org.jboss.mx.loading.ClassLoadingTask@1923ca5{classname: org.omg.ETF._ConnectionLocalBase, requestingThread: Thread[main,5,jboss],
requestingClassLoader: org.jboss.mx.loading.UnifiedClassLoader3@171f189{ url=null ,addedOrder=2}, loadedClass: nullnull, loadOrder: 2147483647,
loadException: java.lang.StackOverflowError, threadTaskCount: 0, state: 1, #CCE: 1}
java.lang.StackOverflowError
at java.lang.Exception.<init>(Exception.java:59)
at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:65)
...
- We are having problems with
java.lang.StackOverflowError. what exactly needs to be done. Also let us know what all information is required to attach in the support case to confirm this.
Environment
- Java
- Red Hat JBoss Enterprise Application Platform (EAP)
- Tomcat
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
