| Summary: | java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Jeffrey Aguilera <jaguilera> |
| Component: | server | Assignee: | Simone Bordet <simone.bordet> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gregw, jaguilera, janb, jesse.mcconnell, jetty-inbox |
| Version: | unspecified | ||
| Target Milestone: | 7.4.x | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Whiteboard: | |||
See the same problem in jetty 7.4.0 and 7.4.3. Saw some older bugs with the similar stack trace that were closed as fixed on an older version of Jetty; but it has either resurfaced, or there are other vectors that generate this problem. I have 100's of MBs of logs with this exception traced. Here is a stack trace from 7.4.3:
java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.shutdownOutput(BaseSSLSocketImpl.java:192)
at org.eclipse.jetty.io.bio.SocketEndPoint.shutdownOutput(SocketEndPoint.java:96)
at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:895)
at org.eclipse.jetty.http.HttpGenerator.complete(HttpGenerator.java:809)
at org.eclipse.jetty.server.HttpConnection.completeResponse(HttpConnection.java:744)
at org.eclipse.jetty.server.Response.complete(Response.java:1145)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:666)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:241)
...
The corresponding jar is jetty-io-7.4.3.v20110701.jar
Jeffrey, use SslSelectChannelConnector to avoid this problem for now. We'll fix SslSocketConnector in next release. Please close this. The problem was on my side. Someone had subclassed SocketConnector from an earlier version of Jetty; and the subsequent changes to fix this issue were not merged on our side. Sorry about that. |
Build Identifier: jetty-6.1.26.jar java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.shutdownOutput(BaseSSLSocketImpl.java:192) at org.mortbay.io.bio.SocketEndPoint.shutdownOutput(SocketEndPoint.java:65) at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:766) at org.mortbay.jetty.HttpGenerator.complete(HttpGenerator.java:678) at org.mortbay.jetty.HttpConnection.completeResponse(HttpConnection.java:684) at org.mortbay.jetty.Response.complete(Response.java:1125) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:612) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) Reproducible: Always Steps to Reproduce: 1. Run https web site 2. Watch logs 3. Profit