Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318833 - NoRouteToHostException when clicked on Download Additional server adapters in New Server page.
Summary: NoRouteToHostException when clicked on Download Additional server adapters in...
Status: CLOSED INVALID
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Angel Vera CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 00:11 EDT by Ashok CLA
Modified: 2010-08-19 00:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashok CLA 2010-07-05 00:11:28 EDT
Build Identifier: I20100527-1700

NoRouteToHostException when clicked on Download Additional server adapters in New Server page of add a server option.

Exception StackTrace
!ENTRY org.eclipse.equinox.p2.repository 2 0 2010-07-02 11:43:49.259
!MESSAGE Connection to http://www.webtide.com/eclipse/site.xml failed on No route to host: connect. Retry attempt 0 started
!STACK 0
java.net.NoRouteToHostException: No route to host: connect
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:529)
at
org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.crea
teSocket(SocketEventCreateUtil.java:43)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtoco
lSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:81)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtoco
lSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:73)
at
org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtoco
lSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:65)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfe
r.performConnect(HttpClientRetrieveFileTransfer.java:1142)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfe
r.openStreams(HttpClientRetrieveFileTransfer.java:710)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.se
ndRetrieveRequest(AbstractRetrieveFileTransfer.java:877)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.se
ndRetrieveRequest(AbstractRetrieveFileTransfer.java:564)
at
org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.se
ndRetrieveRequest(MultiProtocolRetrieveAdapter.java:98)
at
org.eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(File
Reader.java:342)
at
org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java
:288)
at
org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(Reposi
toryTransport.java:71)
at
org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(Reposi
toryTransport.java:127)
at
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadActualSiteFile(Updat
eSite.java:204)
at
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSiteFile(UpdateSite.
java:172)
at
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(UpdateSite.java:142
)
at
org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataReposito
ryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:85)
at
org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataReposito
ryFactory.load(UpdateSiteMetadataRepositoryFactory.java:54)
at
org.eclipse.wst.server.discovery.internal.model.ExtensionUpdateSite.getExtensi
ons(ExtensionUpdateSite.java:74)
at
org.eclipse.wst.server.discovery.internal.ExtensionUtility$1.run(ExtensionUtil
ity.java:201) 

This exception goes on printing in the log. 

Reproducible: Always

Steps to Reproduce:
1. Open IDE
2. Click to add a new server
3. In New Server page, Click "Download Additional server adapters"
4. You will see exception the log.
Comment 1 Angel Vera CLA 2010-07-05 15:03:41 EDT
I just tried opening that URL and the page returned fined. Are you still experiencing the problem, if so try opening the URL in a borwser and see if you get some content. Also this problem could arise from a proxy issue. 

The messages in the .log is printed as a warning to inform the user that not all server adapters were retrieved. This was the way we intended it to work.

The last option is that webtide just simply had a hiccup.
Comment 2 Ashok CLA 2010-07-06 04:02:18 EDT
I am able to open the site in browser and able to see the contents. But from IDE it is throwing the exception.
Comment 3 Angel Vera CLA 2010-07-06 09:26:33 EDT
I guess opening a browser and going to the site, might not be the best option since your browser may already be correctly configured to use the proxy.. My bad.. 

Can you try opening a command prompt and doing a ping to: www.webtide.com. For some reason it seems that the IDE, and I think is related to some sort of configuration on your computer because I was able to test this in 3.2.1 and no messages got written to my log about this error that you reported.
Comment 4 Angel Vera CLA 2010-08-17 17:24:03 EDT
Any luck?
Comment 5 Ashok CLA 2010-08-19 00:49:26 EDT
It is solved. It was due to i have not set the proxy info in IDE.