StackOverflowError at EJB3 interceptor in JBoss EAP 4.3
Issue
The following stack overflows have been encountered. The first stack overflow was highlighted in #1 below followed by another one #2. Then #3 kept happening generating GB of logs until the node was re-started.
-
(12/23 04:16:15:301):[WARN] {u=SystemUser, t=7196996} Caught unhandled RuntimeException in org.jboss.ejb3.EJBContainerInvocation method loginLocal - java.lang.StackOverflowError *** Start of original stack trace *** java.lang.RuntimeException: java.lang.StackOverflowError at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174) ... Caused by: java.lang.StackOverflowError at java.util.Hashtable.get(Unknown Source) at java.util.Properties.getProperty(Unknown Source) -
(12/23 04:23:32:746): [WARN] {u=SystemUser, t=7201743} Caught unhandled RuntimeException in org.jboss.ejb3.EJBContainerInvocation method loginLocal - java.lang.StackOverflowError *** Start of original stack trace *** java.lang.RuntimeException: java.lang.StackOverflowError at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174) ... Caused by: java.lang.StackOverflowError at java.util.Hashtable.get(Unknown Source) at java.util.Properties.getProperty(Unknown Source) -
(12/23 04:27:05:883):{WorkManager(2)-271930} [WARN] {u=SystemUser, t=7204175} sendObjectMessage could not send message using runAs javax.ejb.EJBAccessException: Authentication failure *** Start of original stack trace *** javax.ejb.EJBAccessException: Authentication failure at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3AuthenticationInterceptor.java:68) Caused by: javax.ejb.EJBAccessException: Authentication failure at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3AuthenticationInterceptor.java:68) ... Caused by: javax.security.auth.login.LoginException: java.lang.StackOverflowError at java.util.Hashtable.get(Unknown Source) at java.util.Properties.getProperty(Unknown Source)
Environment
JBoss Enterprise Application Platform (EAP) 4.3_CP08
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.