geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrik Dudits (Created) (JIRA)" <>
Subject [jira] [Created] (XBEAN-190) XBeanNamespaceHandler does not close resource input streams
Date Mon, 10 Oct 2011 09:14:29 GMT
XBeanNamespaceHandler does not close resource input streams

                 Key: XBEAN-190
             Project: XBean
          Issue Type: Bug
          Components: spring
    Affects Versions: 3.7
            Reporter: Patrik Dudits
            Priority: Trivial

I've got ActiveMQ RAR deployed onto Glassfish. Upon stopping of the connector, following warning
is raised:

WARNING: Input stream has been finalized or forced closed without being explicitly closed;
stream instantiation reported in following stack trace
	at com.sun.enterprise.loader.ASURLClassLoader$SentinelInputStream.&lt;init&gt;(
	at com.sun.enterprise.loader.ASURLClassLoader$InternalJarURLConnection.getInputStream(
	at java.lang.ClassLoader.getResourceAsStream(
	at com.sun.enterprise.loader.ASURLClassLoader.getResourceAsStream(
	at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.loadResource(
	at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.findNamespaceProperties(
	... (shortened) ...

The cause appears to be {{XBeanNamespaceHandler.findNamespaceProperties}} - the InputStream
obtained on line 801 (in 3.7 sources), is used at line 812, but surrounding try lacks finally

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message