Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369813

Summary: HostedSiteServlet FileNotFoundException problems
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: 0.4   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2012-01-26 10:04:17 EST
There are tons of log entries like this on orion.eclipse.org. We should see if there is a real underlying bug here, either on client or server. If it is a normal condition we should avoid logging to minimize clutter in the server log.

2012-01-25 11:39:42.452 [qtp1035287989-18179] WARN  / - stream
java.io.FileNotFoundException: http://localhost:8080/prefs/user/plugins?null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44) ~[na:1.6.0]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ~[na:1.6.0]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:516) ~[na:1.6.0]
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1363) ~[na:1.6.0]
        at java.security.AccessController.doPrivileged(AccessController.java:251) ~[na:na]
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1357) ~[na:1.6.0]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1011) ~[na:1.6.0]
        at org.eclipse.orion.internal.server.hosting.RemoteURLProxyServlet.service(RemoteURLProxyServlet.java:192) ~[org.eclipse.orion.server.hosting_0.2.0.v20120116-2111.jar:na]
        at org.eclipse.orion.internal.server.hosting.HostedSiteServlet.proxyRemoteUrl(HostedSiteServlet.java:348) [org.eclipse.orion.server.hosting_0.2.0.v20120116-2111.jar:na]
        at org.eclipse.orion.internal.server.hosting.HostedSiteServlet.proxyRemotePath(HostedSiteServlet.java:325) [org.eclipse.orion.server.hosting_0.2.0.v20120116-2111.jar:na]
        at org.eclipse.orion.internal.server.hosting.HostedSiteServlet.serve(HostedSiteServlet.java:237) [org.eclipse.orion.server.hosting_0.2.0.v20120116-2111.jar:na]
        at org.eclipse.orion.internal.server.hosting.HostedSiteServlet.service(HostedSiteServlet.java:171) [org.eclipse.orion.server.hosting_0.2.0.v20120116-2111.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet_3.0.0.v201112011016.jar:na]
Comment 1 Mark Macdonald CLA 2012-01-27 16:33:45 EST
HostedSiteServlet was constructing bogus URLs.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=f671dc438e8b37b5bbaede79d1d60215cbfb4a2e