[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1672) Input streams are not closed when no longer needed

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sun Oct 5 22:50:21 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBRULES-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor updated JBRULES-1672:
----------------------------------

    Fix Version/s: 5.0.0.M3


> Input streams are not closed when no longer needed
> --------------------------------------------------
>
>                 Key: JBRULES-1672
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1672
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.7
>         Environment: Windows XP 
>            Reporter: Brett Bergquist
>            Assignee: Mark Proctor
>             Fix For: 5.0.0.M3
>
>         Attachments: streams_close.patch
>
>
> Input streams are left open after loading a new rules base.  This is being reported when I unload an application deployed in the Glassfish Application server:  Here is a partial stack traceback:
> 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:1165)
>         at com.sun.enterprise.loader.EJBClassLoader$InternalJarURLConnection.getInputStream(EJBClassLoader.java:1258)
>         at java.net.URL.openStream(URL.java:1009)
>         at org.drools.util.ChainedProperties.loadProperties(ChainedProperties.java:245)
>         at org.drools.util.ChainedProperties.loadProperties(ChainedProperties.java:216)
>         at org.drools.util.ChainedProperties.<init>(ChainedProperties.java:102)
>         at org.drools.util.ChainedProperties.<init>(ChainedProperties.java:31)
>         at org.drools.util.ChainedProperties.<init>(ChainedProperties.java:25)
>         at org.drools.RuleBaseConfiguration.init(RuleBaseConfiguration.java:174)
>         at org.drools.RuleBaseConfiguration.<init>(RuleBaseConfiguration.java:133)
>         at org.drools.common.AbstractRuleBase.<init>(AbstractRuleBase.java:147)
>         at org.drools.reteoo.ReteooRuleBase.<init>(ReteooRuleBase.java:124)
>         at org.drools.reteoo.ReteooRuleBase.<init>(ReteooRuleBase.java:101)
>         at org.drools.RuleBaseFactory.newRuleBase(RuleBaseFactory.java:57)
>         at org.drools.RuleBaseFactory.newRuleBase(RuleBaseFactory.java:38)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list