[
http://jira.jboss.com/jira/browse/JBESB-1498?page=comments#action_12401907 ]
Kevin Conner commented on JBESB-1498:
-------------------------------------
If this is the cause then it may explain why we do not see it with the current codebase
and why it occurs with 4.2.1.
The binding manager/property substitution was not properly supported in AS 4.2.1, the work
was completed in December in JBESB-1309.
I will revert the change locally, when I come to test this, and verify this is the issue.
Thanks very much for your help.
StackOverflowError caused by NamingContext
------------------------------------------
Key: JBESB-1498
URL:
http://jira.jboss.com/jira/browse/JBESB-1498
Project: JBoss ESB
Issue Type: Patch
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.2.1
Environment: JBoss AS 4.2.1, Java 1.5.0_12
Reporter: Naveen Malik
Fix For: 4.2.1 CP2
Attachments: jira1498.patch, jndi.properties, server.log
When starting JBoss AS 4.2.1 with JBoss ESB 4.2.1GA installed a stack overflow exception
is logged several times:
2008-01-17 16:13:52,336 WARN
[org.jboss.soa.esb.listeners.lifecycle.AbstractThreadedManagedLifecycle] Unexpected error
from doRun()
java.lang.StackOverflowError
at java.lang.StringCoding.decode(StringCoding.java:228)
at java.lang.String.<init>(String.java:405)
at java.lang.String.<init>(String.java:433)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:266)
at
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
at
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1387)
at org.jnp.interfaces.NamingContext.list(NamingContext.java:795)
at javax.naming.InitialContext.list(InitialContext.java:401)
at org.jboss.ha.jndi.TreeHead.list(TreeHead.java:354)
at org.jboss.ha.jndi.HAJNDI.list(HAJNDI.java:161)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
at $Proxy70.list(Unknown Source)
at org.jnp.interfaces.NamingContext.list(NamingContext.java:802)
at javax.naming.InitialContext.list(InitialContext.java:401)
at org.jboss.ha.jndi.TreeHead.list(TreeHead.java:354)
at org.jboss.ha.jndi.HAJNDI.list(HAJNDI.java:161)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
at $Proxy70.list(Unknown Source)
at org.jnp.interfaces.NamingContext.list(NamingContext.java:802)
at javax.naming.InitialContext.list(InitialContext.java:401)
at org.jboss.ha.jndi.TreeHead.list(TreeHead.java:354)
at org.jboss.ha.jndi.HAJNDI.list(HAJNDI.java:161)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
at $Proxy70.list(Unknown Source)
...
at org.jnp.interfaces.NamingContext.list(NamingContext.java:802)
at javax.naming.InitialContext.list(InitialContext.java:401)
at org.jboss.ha.jndi.TreeHead.list(TreeHead.java:354)
at org.jboss.ha.jndi.HAJNDI.list(HAJNDI.java:161)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
at $Proxy70.list(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira