[Remoting] - Why so many retries?
by mohitanchlia
We have a FE EJB stateless Client that calls remote EJB on port that is a default EJB deployer port 3873. The remote EJB is clustered accross several BE servers. Now the problem is that when I reboot one of the machines the FE box comes to halt and it looks like it's trying to invoke remote call but keeps trying even though at this point "that" particular host doesn't exist. I set the numberOfRetries for the connector, I also tried setting timeout to lower value. I see the following (below) but I don't understand why would it keep trying to connect to remote host even after numberOfRetries is set to 1.
P.S Note: This is clustered EJB so which means it updates it's view after first successful invocation. But what I see is that even before it can make it's first successful call (using round robin) it tries to reconnect many times to the host that just went down.
-------
2008-12-31 12:20:14,287 DEBUG [transport.socket.MicroSocketClientInvoker:ajp-0.0.0.0-8009-99] - SocketClientInvoker[18b118, socket://10.10.8.77:3873] got Exception java.net.NoRouteToHostException: No route to host, creation attempt took 3001 ms
2008-12-31 12:20:14,287 DEBUG [transport.socket.MicroSocketClientInvoker:ajp-0.0.0.0-8009-86] - SocketClientInvoker[18b118, socket://10.10.8.77:3873] got Exception java.net.NoRouteToHostException: No route to host, creation attempt took 3001 ms
2008-12-31 12:20:17,291 DEBUG [transport.socket.MicroSocketClientInvoker:ajp-0.0.0.0-8009-86] - SocketClientInvoker[18b118, socket://10.10.8.77:3873] got Exception java.net.NoRouteToHostException: No route to host, creation attempt took 3001 ms
2008-12-31 12:20:17,292 DEBUG [transport.socket.MicroSocketClientInvoker:ajp-0.0.0.0-8009-99] - SocketClientInvoker[18b118, socket://10.10.8.77:3873] got Exception java.net.NoRouteToHostException: No route to host, creation attempt took 3002 ms
-------
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199086#4199086
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199086
15 years, 11 months