Re: java.net.NoRouteToHostException: No route to host: connect busy loop in JoinManager

solomon wu <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <LISTSERV%[email protected]>
Hi,
We seem to observe the same issue as the issue Greg encountered before.
It is very easy to reproduce.  Unplug the network cable and the cpu shoot
up to 100%.
Do we know what is the status of this issue right now?
Would appreciate any help on this issue.  Thank you very much.


The log printout shows many NoRouteToHostException in JoinManager in a
very short time.

After inserting some log into the RetryTask and TaskManager, it seems that
there are many RetryTask running.  Those RetryTask are either
JoinManager$ProxyRegTask or LookupLocatorDiscovery$DiscoveryTask.




9217: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lookup.JoinManager$ProxyRegTask.<init>(JoinManager.java:572)
9218: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lookup.JoinManager$ProxyReg.addTask(JoinManager.java:1193)
9219: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lookup.JoinManager$DiscMgrListener.discarded
(JoinManager.java:1409)
9220: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.discovery.LookupLocatorDiscovery$Notifier.run
(LookupLocatorDiscovery.java:635)


9200: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.discovery.LookupLocatorDiscovery$DiscoveryTask.<init>
(LookupLocatorDiscovery.java:661)
9201: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.discovery.LookupLocatorDiscovery.queueDiscoveryTask
(LookupLocatorDiscovery.java:1349)
9202: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.discovery.LookupLocatorDiscovery.addToMap
(LookupLocatorDiscovery.java:1340)
9203: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.discovery.LookupLocatorDiscovery.discard
(LookupLocatorDiscovery.java:914)
9204: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lookup.JoinManager$ProxyReg.fail(JoinManager.java:1326)
9205: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lookup.JoinManager$ProxyReg$DiscLeaseListener.notify
(JoinManager.java:1134)
9206: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lease.LeaseRenewalManager.tell(LeaseRenewalManager.java:1345)
9207: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lease.LeaseRenewalManager.renewAll(LeaseRenewalManager.java:1484)
9208: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lease.LeaseRenewalManager.access$500(LeaseRenewalManager.java:319)
9209: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lease.LeaseRenewalManager$RenewTask.run
(LeaseRenewalManager.java:451)
9210: Feb 07 17:17:38.413 PST %MCVD-LIB_JINI-7-UNK: at
com.sun.jini.thread.TaskManager$TaskThread.run(TaskManager.java:350)


sorry the line number on RetryTask and TaskManager might be incorrect due
to some log statements inserted in there to print stack trace.




21931: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK:Feb 7, 2007 4:06:36 PM
net.jini.lookup.JoinManager$ProxyReg fail
21932: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK:INFO: JoinManager -
failure
21933: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-
UNK:java.rmi.ConnectIOException: Exception creating connection to:
172.19.136.241; nested exception is:
21934: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK:
 java.net.NoRouteToHostException: No route to host: connect
21935: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
21936: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
21937: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
21938: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
sun.rmi.server.UnicastRef.invoke(Unknown Source)
21939: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
com.sun.jini.reggie.RegistrarImpl_Stub.register(Unknown Source)
21940: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
com.sun.jini.reggie.RegistrarProxy.register(RegistrarProxy.java:107)
21941: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lookup.JoinManager$ProxyReg.register(JoinManager.java:1222)
21942: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lookup.JoinManager$RegisterTask.run(JoinManager.java:784)
21943: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
net.jini.lookup.JoinManager$ProxyRegTask.tryOnce(JoinManager.java:608)
21944: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
com.sun.jini.thread.RetryTask.run(RetryTask.java:131)
21945: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
com.sun.jini.thread.TaskManager$TaskThread.run(TaskManager.java:331)
21946: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK:Caused by:
java.net.NoRouteToHostException: No route to host: connect
21947: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.PlainSocketImpl.socketConnect(Native Method)
21948: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.PlainSocketImpl.doConnect(Unknown Source)
21949: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
21950: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.PlainSocketImpl.connect(Unknown Source)
21951: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.SocksSocketImpl.connect(Unknown Source)
21952: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.Socket.connect(Unknown Source)
21953: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.Socket.connect(Unknown Source)
21954: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.Socket.<init>(Unknown Source)
21955: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
java.net.Socket.<init>(Unknown Source)
21956: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
21957: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
21958: Feb 07 16:06:37.062 PST %MCVD-LIB_JINI-7-UNK: ... 11 more

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.