CLONE - org.apache.myfaces.shared.resource. ResourceImpl: PushbackInputStream
delegate is not closed
----------------------------------------------------------------------------------------------------
Key: MYFACES-3453
URL: https://issues.apache.org/jira/browse/MYFACES-3453
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
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