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

Bug 369812

Summary: HostedSiteServlet problems with handling DELETE
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: Project Inbox <orion.server-inbox>
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 09:56:08 EST
I am seeing lots of these errors in the log on orion.eclipse.org:

java.net.ProtocolException: HTTP method DELETE doesn't support output
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:889) ~[na:1.6.0]
        at org.eclipse.orion.internal.server.hosting.RemoteURLProxyServlet.service(RemoteURLProxyServlet.java:166) ~[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 John Arthorne CLA 2012-01-26 09:58:06 EST
Mark can you take a look at this.. I want to rule out any server errors that might be causing us problems.
Comment 2 Mark Macdonald CLA 2012-01-26 11:41:27 EST
RemoteURLProxyServlet had a problem with DELETEs that created a lot of noise in the log. Fixed:

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=ddb736f3c674026f31e9a311ac641afaacc095c3
Comment 3 Mark Macdonald CLA 2012-01-26 11:41:50 EST
.