« Return to Thread: RE: Possible running out of File Handles when using a facelets

Re: Possible running out of File Handles when using a facelets

by Stefano Panero :: Rate this Message:

Reply to Author | View in Thread

Hi,

we are facing the same problem.

Where can I find a 1.1.15 facelets jar?

Is this version "stable"/tested, we have this problem in a production env.

Thanks a lot,
Stefano.

2009/3/26 TRIFILETTI, Mel <Mel.TRIFILETTI@...>:

> For the record, we did track this down as a facelets file handle leak bug.
>
> https://facelets.dev.java.net/issues/show_bug.cgi?id=254
>
> We upgraded from facelets 1.1.14 draft to 1.1.15 draft to fix the problem.
>
> ________________________________
> From: TRIFILETTI, Mel [mailto:Mel.TRIFILETTI@...]
> Sent: Friday, 13 March 2009 2:41 PM
> To: users@...
> Subject: Possible running out of File Handles when using a facelets
>
> Our application has been running fine. Occasionally abourt once a week we
> get the error showing below appearing in our logs. It may happen for a
> minute and then the server fixes it self. Users get a 404 unavailable.
>
> It looks like the server is out of file handlers as it also affects css
> requests, servlets etc. However the first occurrence always seems to be a
> facelet file so hence my suspicion. The following <e:resource> tag is
> included in a dataTable which can return up to 200 rows. Could there be a
> problem here if the server is under high load? Does it try to load the
> <e:resouces> facelet 200 times per user?
>
> [13/03/09 10:38:12:466 WST] 000004c1 viewhandler   E   Error Rendering
> View[/maint/dealing/process/surrender/partial/voluntary/processVoluntaryPartialSurrender.xhtml]
>
>                                  com.sun.facelets.tag.TagException:
> /WEB-INF/pages/maint/layouts/includes.xhtml @31,56 <e:resource> Facelet Not
> Found:
> file:/D:/Applications/IBM/WebSphere/profiles/ProdNode8A/installedApps/TestCell01/eMITS.ear/eMITSEnquiry.war/WEB-INF/pages/maint/component/resource.xhtml
>
>         at
> com.sun.facelets.tag.UserTagHandler.apply(UserTagHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java(Inlined
> Compiled Code))
>
>         at
> com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java(Inlined
> Compiled Code))
>         at
> com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java(Compiled
> Code))
>         at
> com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java(Compiled
> Code))
>         at
> com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java(Compiled
> Code))
>         at
> com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java(Compiled
> Code))
>         at
> emits.presentation.jsf.viewhandler.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java(Compiled
> Code))
>         at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java(Compiled
> Code))
>         at
> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java(Compiled
> Code))
>         at
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java(Compiled
> Code))
>         at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java(Compiled Code))
>         at
> com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined
> Compiled Code))
>         at
> com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled
> Code))
>         at
> com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled
> Code))
>         at
> com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
> Code))
>         at
> au.gov.wa.doir.framework.presentation.filters.TimerFilter.doFilter(TimerFilter.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
> Code))
>         at
> emits.presentation.stream.ProcessStreamFilter.doFilter(ProcessStreamFilter.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
> Code))
>         at
> au.gov.wa.doir.framework.presentation.filters.NoCacheFilter.doFilter(NoCacheFilter.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled
> Code))
>         at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled
> Code))
>         at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled
> Code))
>
>         at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled
> Code))
>
>         at
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled
> Code))
>         at
> com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java(Compiled
> Code))
>
>         at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled
> Code))
>         at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
> Code))
>         at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
> Code))
>         at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
> Code))
>         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled
> Code))
>
> Thanks
> Mel
>
> "DISCLAIMER: This email, including any attachments, is intended only for use
> by the addressee(s) and may contain confidential and/or personal information
> and may also be the subject of legal privilege. If you are not the intended
> recipient, you must not disclose or use the information contained in it. In
> this case, please let me know by return email, delete the message
> permanently from your system and destroy any copies.
>
> Before you take any action based upon advice and/or information contained in
> this email you should carefully consider the advice and information and
> consider obtaining relevant independent advice.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: RE: Possible running out of File Handles when using a facelets