Input stream not closed in org.jruby.runtime.Constants
------------------------------------------------------
Key: JRUBY-2390
URL: http://jira.codehaus.org/browse/JRUBY-2390
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1
Reporter: Jaroslav Libak
Priority: Trivial
Fix For: JRuby 1.1.1
On every undeployment on glassfish, I get the following exception:
[#|2008-04-14T17:21:37.885+0200|WARNING|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=19;_ThreadName=httpWorkerThread-4848-0;_RequestID=5844770d-e9de-433f-b734-deed975f6b81;|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.getResourceAsStream(EJBClassLoader.java:801)
at java.lang.Class.getResourceAsStream(Class.java:1998)
at org.jruby.runtime.Constants.<clinit>(Constants.java:59)
at org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:118)
at org.jruby.Ruby.init(Ruby.java:833)
at org.jruby.Ruby.newInstance(Ruby.java:157)
at org.jruby.Ruby.newInstance(Ruby.java:145)
at
com.unient.engine.core.runtime.cache.RubyRuntimeCache$RubyRuntimeCreatorTask.run(RubyRuntimeCache.java:602)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
which is caused by not closing input stream in org.jruby.runtime.Constants
acquired by getResourceAsStream call.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email