Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369812 - HostedSiteServlet problems with handling DELETE
Summary: HostedSiteServlet problems with handling DELETE
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 09:56 EST by John Arthorne CLA
Modified: 2012-01-26 11:41 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
.