You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org> on 2012/01/26 16:56:38 UTC

[jira] [Resolved] (MFCOMMONS-46) CLONE - org.apache.myfaces.shared.resource. ResourceImpl: PushbackInputStream delegate is not closed

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

Leonardo Uribe resolved MFCOMMONS-46.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2.1
         Assignee: Leonardo Uribe
    
> CLONE - org.apache.myfaces.shared.resource. ResourceImpl: PushbackInputStream delegate is not closed
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MFCOMMONS-46
>                 URL: https://issues.apache.org/jira/browse/MFCOMMONS-46
>             Project: MyFaces Commons
>          Issue Type: Bug
>          Components: myfaces-commons-resourcehandler
>         Environment: WebSphere v7.0.19 on Linux (Red Hat)
>            Reporter: Seppo Sutinen
>            Assignee: Leonardo Uribe
>             Fix For: 1.0.2.1
>
>   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