[
https://jira.jboss.org/jira/browse/JBRULES-1672?page=com.atlassian.jira.p...
]
Mark Proctor closed JBRULES-1672.
---------------------------------
Resolution: Done
I've applied the patch you gave. You had some exceptionsSwalling going on, which I
changed to throw a runtime exception, is that ok? Re-open if you find any more failed to
be closed streams.
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.M5
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