myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (Resolved) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3430) org.apache.myfaces.shared.resource. ResourceImpl: PushbackInputStream delegate is not closed
Date Thu, 26 Jan 2012 15:56:38 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leonardo Uribe resolved MYFACES-3430.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.6
                   2.0.12
         Assignee: Leonardo Uribe

Thanks to Seppo Sutinen for provide this patch
                
> org.apache.myfaces.shared.resource. ResourceImpl: PushbackInputStream delegate is not
closed
> --------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3430
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3430
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.0.0-beta-3, 2.0.11, 2.1.0, 2.1.5
>         Environment: WebSphere v7.0.19 on Linux (Red Hat)
>            Reporter: Seppo Sutinen
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.12, 2.1.6
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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" );
>         }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message