Jetty
  1. Jetty
  2. JETTY-580

java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.10
    • Fix Version/s: 7.0.0pre2, 6.1.11
    • Component/s: Security and SSL
    • Labels:
      None
    • Environment:
      java version "1.6.0_05"
      Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
      Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

      Microsoft Windows XP [Version 5.1.2600]
    • Number of attachments :
      0

      Description

      I am getting a "java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket" in 6.1.10.

      2008-05-22 13:35:07.956::WARN:  handle failed
      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.close(SocketEndPoint.java:61)
      	at org.mortbay.jetty.bio.SocketConnector$Connection.fill(SocketConnector.java:200)
      	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:282)
      	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
      	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      	at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:620)
      	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      Exception in thread "btpool1-7" 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.close(SocketEndPoint.java:61)
      	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:246)
      	at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:620)
      	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      

      Let me know what other information I can provide.

        Issue Links

          Activity

          Hide
          Greg Wilkins added a comment -

          Fixed.
          Improved SSL exception logging
          updated keystore with non-expired key

          Show
          Greg Wilkins added a comment - Fixed. Improved SSL exception logging updated keystore with non-expired key
          Hide
          Ivan Hristov added a comment -

          The issue is still valid for versions 7.4.1.v20110513 and 7.4.5.v20110725.

          Show
          Ivan Hristov added a comment - The issue is still valid for versions 7.4.1.v20110513 and 7.4.5.v20110725.
          Hide
          Ron Gonzalez added a comment -

          We are trying to identify whether or not this issue is correlated to a socket FD leak bug in modern versions of the
          Java 6 JRE ( > 1.6_12 ).

          Could the occurrence of this issue lead to a leaked SSL Socket FD's?
          In other words will the SSL socket still be closed in versions of Jetty that have not been patched?

          Please see: http://bugs.sun.com/view_bug.do?bug_id=6745052

          Show
          Ron Gonzalez added a comment - We are trying to identify whether or not this issue is correlated to a socket FD leak bug in modern versions of the Java 6 JRE ( > 1.6_12 ). Could the occurrence of this issue lead to a leaked SSL Socket FD's? In other words will the SSL socket still be closed in versions of Jetty that have not been patched? Please see: http://bugs.sun.com/view_bug.do?bug_id=6745052
          Hide
          Gary Gregory added a comment -

          Wow, blast from the past! I'm surprised to hear that the issue is still in 7.4.5 because that is the version I use and I've not seen it. I am lucky like that. IIRC when I encountered this issue, it was not random.

          Show
          Gary Gregory added a comment - Wow, blast from the past! I'm surprised to hear that the issue is still in 7.4.5 because that is the version I use and I've not seen it. I am lucky like that. IIRC when I encountered this issue, it was not random.
          Hide
          Ron Gonzalez added a comment -

          The issue is not related to a FD Leak issue as I previously commented. However we would like to know if it will be fixed?

          Show
          Ron Gonzalez added a comment - The issue is not related to a FD Leak issue as I previously commented. However we would like to know if it will be fixed?

            People

            • Assignee:
              Unassigned
              Reporter:
              Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: