[ 
https://issues.apache.org/jira/browse/MYFACES-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672410#action_12672410
 ] 

Bernd Bohmann commented on MYFACES-2149:
----------------------------------------

Thanks for the patch

> Stream not closed
> -----------------
>
>                 Key: MYFACES-2149
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2149
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 1.2.6
>         Environment: JDK1.6u11
> Glassfish 2.1
>            Reporter: Marcin Wisnicki
>            Assignee: Bernd Bohmann
>            Priority: Minor
>             Fix For: 1.2.7-SNAPSHOT
>
>         Attachments: myfaces-close-stream.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When undeploying application that uses myfaces:
> WARNING: Input stream has been finalized or forced closed without being 
> explicitly closed; stream instantiation reported in following stack trace
> java.lang.Throwable
>       at 
> com.sun.enterprise.loader.EJBClassLoader$SentinelInputStream.<init>(EJBClassLoader.java:1166)
>       at 
> com.sun.enterprise.loader.EJBClassLoader$InternalJarURLConnection.getInputStream(EJBClassLoader.java:1259)
>       at 
> org.apache.myfaces.config.FacesConfigurator.openStreamWithoutCache(FacesConfigurator.java:486)
>       at 
> org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:511)
>       at 
> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:258)
>       at 
> org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:131)
>       at 
> org.apache.myfaces.webapp.Jsp20FacesInitializer.initContainerIntegration(Jsp20FacesInitializer.java:116)
>       at 
> org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:83)
>       at 
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:72)
>       at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)
>       at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
>       at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
>       at 
> com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
>       at 
> com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
>       at 
> com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
>       at 
> com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
>       at 
> com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1742)
>       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1247)
>       at org.apache.catalina.core.StandardHost.start(StandardHost.java:971)
>       at 
> com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
>       at 
> com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
>       at 
> com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
>       at 
> com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
>       at 
> com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:477)
>       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1247)
>       at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:549)
>       at org.apache.catalina.startup.Embedded.start(Embedded.java:952)
>       at com.sun.enterprise.web.WebContainer.start(WebContainer.java:872)
>       at 
> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:791)
>       at 
> com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:89)
>       at 
> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:446)
>       at 
> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
>       at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
>       at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to