java.net.UnknownHostException: htmlgear.lycos.com
http://htmlgear.lycos.com/img/pass/badge1.gif
java.net.UnknownHostException: statik.topica.com
http://statik.topica.com/images/topica_tab.gif
java.net.UnknownHostException: htmlgear.lycos.com
http://htmlgear.lycos.com/img/pass/badge1.gif
Cheng
Ok, I think I am narrowing this problem down.
java.net.UnknownHostException: djflsdjflsdfjds.com
at java.net.InetAddress.getAllByName0(InetAddress.java:778)
at java.net.InetAddress.getAllByName0(InetAddress.java:748)
at java.net.InetAddress.getAllByName(InetAddress.java:742)
at HTTPClient.HTTPConnection$EstablishConnection.run(HTTPConnection.java:3701)
--This is expected because there is no such address.
java.net.UnknownHostException: www.opensource.apple.com
at java.net.InetAddress.getAllByName0(InetAddress.java:778)
at java.net.InetAddress.getAllByName0(InetAddress.java:748)
at java.net.InetAddress.getAllByName(InetAddress.java:742)
at HTTPClient.HTTPConnection$EstablishConnection.run(HTTPConnection.java:3701)
--This is not supposed to happen.
Here are the symptoms.
1. Downloading a single file
1 webpage, works fine
2. Download many files in sequential order
100 webpages, will throw 2-3 UnknownHostException
3. Download many files cocurrently using several threads
100 website, will throw 5-8 UnknownHostException
At least all of the website that result in UnknownHostException
exist, and can be download by 1.
There is a limitation of the InetAddress class? Increase in
workload, increase in error rate?
Cheng