[esb-issues] [JBoss JIRA] Commented: (JBESB-1498) StackOverflowError caused by NamingContext
Srinivasu Nidadavolu (JIRA)
jira-events at lists.jboss.org
Mon Mar 10 05:26:57 EDT 2008
[ http://jira.jboss.com/jira/browse/JBESB-1498?page=comments#action_12401904 ]
Srinivasu Nidadavolu commented on JBESB-1498:
---------------------------------------------
I also got this issue. I got this error when I am binding my server to a particular IP address.
I found a place to cause the issue.
all\deploy\jbossesb.sar\esb.juddi.xml, java.naming.provider.url is pointing to localhost in the following way.
<entry key="java.naming.provider.url">jnp://localhost:1099</entry>
If we are binding our server to some IPaddress while starting the server, then we have to change this localhost to corresponding IP
address. I modified in the following way.
<entry> key="java.naming.provider.url">jnp://${jboss.bind.address}:1099</entry>
and started the server with IPaddress. This issue is not appearing.
Thanks
> 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
More information about the esb-issues
mailing list