fixed

On 4/13/06, Davy De Durpel <[EMAIL PROTECTED]> wrote:

Hi,

Everytime I start my Wicket application, I see a warning in the Glassfish
log file:

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:1096)
        at
com.sun.enterprise.loader.EJBClassLoader$InternalJarURLConnection.getInputStream (EJBClassLoader.java:1189)
        at java.net.URL.openStream(URL.java:1007)
        at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1161)
        at
com.sun.enterprise.loader.EJBClassLoader.getResourceAsStream (EJBClassLoader.java:755)
        at java.lang.Class.getResourceAsStream(Class.java:1998)
        at
wicket.extensions.markup.html.datepicker.DatePickerSettings.<clinit>(DatePickerSettings.java:52)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at
wicket.extensions.markup.html.datepicker.DatePickerComponentInitializer.class$(DatePickerComponentInitializer.java :110)
        at
wicket.extensions.markup.html.datepicker.DatePickerComponentInitializer.init(DatePickerComponentInitializer.java:130)
        at wicket.extensions.Initializer.init(Initializer.java:39)
        at wicket.Application.initialize(Application.java:653)
        at wicket.Application.initializeComponents(Application.java:718)
        at wicket.Application.initializeComponents(Application.java:695)
        at wicket.protocol.http.WicketServlet.init (WicketServlet.java:287)


This exception seems to be related to the fact that the inputstream is not
explicitly closed when reading the dateformats.properties file in the
DatePickerSettings class.  This is not a real bug but I like to have clean
log files ;-)

Byeee...
--
View this message in context: http://www.nabble.com/DatePickerSettings-not-closing-inputstream-t1443016.html#a3896735
Sent from the Wicket - User forum at Nabble.com.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to