Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3430

org.apache.myfaces.shared.resource. ResourceImpl: PushbackInputStream delegate is not closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-beta-3, 2.0.11, 2.1.0, 2.1.5
    • 2.0.12, 2.1.6
    • General
    • None
    • WebSphere v7.0.19 on Linux (Red Hat)

    Description

      ALL VERSIONS.

      PushbackInputStream delegate is not closed, so we get "too many open files" on Linux -platform.
      Our Total File Descriptors For System is 8000.

      PushbackInputStream delegate is used when reading stylesheet files (.css -files "text/css" -content type).
      Used in JSF2 <h:outputStylesheet/> -tag.

      ADD Stream closing...
      private class ValueExpressionFilterInputStream extends InputStream
      {
      ...
      /**

      • PushbackInputStream delegate MUST BE CLOSED or you will get "too many open files" on Linux-platform
        */
        @Override
        public void close( ) throws IOException { delegate.close(); //System.out.println( "EYECATCHER. " + getClass( ).getSimpleName( ) + ".close called" ); }

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              sutinse Seppo Sutinen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1m
                  1m
                  Remaining:
                  Remaining Estimate - 1m
                  1m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified