MyFaces Commons
  1. MyFaces Commons
  2. MFCOMMONS-46

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.2.1
    • Labels:
      None
    • Environment:
      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" ); }

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Leonardo Uribe
              Reporter:
              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

                  Development