StackOverflowError when starting JBoss Cluster
happyspaceinvader Mar 13, 2008 10:58 AMI get a StackOverflow error when starting up the primary node of my cluster. Not sure what's going wrong but I found this article which has the advice:
It looks like you may have specified the HA-JNDI configuration as the default JNDI configuration. The result of this is that any name which cannot be located within the HA-JNDI will cause a recursive invocation (and a StackOverflow).
I don't quite understand that - where would I have made this error? The StackOverflow error itself follows:
2008-03-13 13:57:44,609 WARN [org.jboss.soa.esb.listeners.lifecycle.AbstractThreadedManagedLifecycle] Unexpected error from doRun() java.lang.StackOverflowError at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) at java.net.DatagramSocket.receive(DatagramSocket.java:712) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1435) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1548) at org.jnp.interfaces.NamingContext.list(NamingContext.java:868) at javax.naming.InitialContext.list(InitialContext.java:442) at org.jboss.ha.jndi.TreeHead.list(TreeHead.java:354) at org.jboss.ha.jndi.HAJNDI.list(HAJNDI.java:161) at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312) at $Proxy223.list(Unknown Source) at org.jnp.interfaces.NamingContext.list(NamingContext.java:878) at javax.naming.InitialContext.list(InitialContext.java:442) at org.jboss.ha.jndi.TreeHead.list(TreeHead.java:354) at org.jboss.ha.jndi.HAJNDI.list(HAJNDI.java:161) at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312) at $Proxy223.list(Unknown Source) at org.jnp.interfaces.NamingContext.list(NamingContext.java:878) at javax.naming.InitialContext.list(InitialContext.java:442) at org.jboss.ha.jndi.TreeHead.list(TreeHead.java:354) at org.jboss.ha.jndi.HAJNDI.list(HAJNDI.java:161) at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312)