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

Brett Bergquist (JIRA) jira-events at lists.jboss.org
Wed Jul 9 13:44:37 EDT 2008


Input streams are not closed when no longer needed
--------------------------------------------------

                 Key: JBRULES-1672
                 URL: http://jira.jboss.com/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
         Assigned To: Mark Proctor


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list