dev@glassfish.java.net

Re: is quicklook working right now?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 12 Oct 2009 14:42:29 -0700

Bill Shannon wrote:
> Richard S. Hall wrote on 10/11/09 4:41 AM:
>> I set a break point where Felix opens the the first bundle JAR file
>> using JarFile. Before creating the JarFile there was no open bundle JAR
>> files, after it there were two. I even created a simple test program
>> that only opens a JarFile in its main method and sleeps for 30 seconds.
>> This is what I saw:
>>
>> java 14129 rickhall 30r REG 14,2 846 43270278
>> /Users/rickhall/tmp/jar/jar.jar
>> java 14129 rickhall 31r REG 14,2 846 43270278
>> /Users/rickhall/tmp/jar/jar.jar
>>
>> So, it seems JarFile always reports two open files. Not sure why.
>
> So, I guess it's a bug, or feature, of the JDK.
>
> Maybe you should file a bug and see what they say? You might want
> to search the bug database first.

FYI I've talked with the SE team and it seems it is not a known issue
(at least based on this email thread). In any case we should document
the fact that GF needs more than the usual default fd to runs properly,
because we will ends up with tons of post on 'GlassFish leaks fd' :-)

-- Jeanfrancois


>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>