How to fix java.net.UnknownHostException error [message #892185] |
Wed, 27 June 2012 10:43 |
ch faisal Messages: 3 Registered: June 2012 |
Junior Member |
|
|
Greetings
I have following errors in Eclipse during program execution, kindly let me know how to fix these errors.
java.net.UnknownHostException: www.sunniforum.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.faisal.vbulletin.parser.Parser.pageContents(Parser.java:150)
at com.faisal.vbulletin.parser.Parser.parseTopic(Parser.java:57)
at com.faisal.vbulletin.parser.Parser.main(Parser.java:41)
I have added following details as VM arguments:
-Dhttp.proxySet=true -Dhttp.proxyHost=xxxxx -Dhttp.proxyPort=xxxx -Dhttp.proxyUser=xxxx -Dhttp.proxyPassword=xxxx -Dhttps.proxySet=true -Dhttps.proxyHost=xxxx -Dhttps.proxyPort=xxxx -Dhttps.proxyUser=xxxx -Dhttps.proxyPassword=xxxxx
Regards
|
|
|
Powered by
FUDForum. Page generated in 0.03531 seconds