quality@glassfish.java.net

Re: File locking problem

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Mon, 2 Aug 2010 15:33:45 +0200

Hi Tim,


Yes, that's what I did. I'll open an issue as you requested.


Thanks, Wouter

On Mon, Aug 02, 2010 at 08:21:53AM -0500, Tim Quinn wrote:
> Hello, Wouter.
>
> Please just make sure that you followed the directions for using the
> tool carefully. Basically, use the "show" command only after
> undeploying the application. If that is what you did, then please open
> an issue and include the tool's output.
>
> Thanks.
>
> - Tim
>
> On Aug 2, 2010, at 4:36 AM, Wouter van Reeven wrote:
>
>> Hi Richard,
>>
>> Thanks for pointing me to that tool. As it turns out, quite a few jars
>> contained in the war still are unclosed when I try to redeploy the
>> app.
>> I'm not sure how to proceed next, but it definately looks like a
>> GlassFish issue since the tool shows Grizzly to be the one that keeps
>> the jars open.
>>
>> I may file a bug against GlassFish, but in the mean time I'll try to
>> work around the issue.
>>
>>
>> Thanks, Wouter
>>
>> On Fri, Jul 30, 2010 at 01:18:21PM +0200, Richard Kolb wrote:
>>> Hi Wouter
>>>
>>> When you have some time , please use this tool when you have time
>>> http://blogs.sun.com/quinn/entry/tool_for_diagnosing_failed_glassfish
>>>
>>> regards
>>> Richard
>>>
>>> On 30 July 2010 11:03, Wouter van Reeven <wouter_at_van.reeven.nl>
>>> wrote:
>>>
>>> Hi all,
>>>
>>>
>>> In the past few days I have been working on Windows 7 with
>>> NetBeans,
>>> GlassFish 2.2.1 and Maven. I noticed this behaviour:
>>>
>>> When I clean, undeploy and deploy our Enterprise Application with
>>> NetBeans I get file locking errors, while I don't get them when I
>>> use
>>> Maven to deploy and undeploy the app. The difference is that I
>>> call the
>>> asadmin command from Maven to deploy our ear, while NetBeans uses
>>> the
>>> internal deployment to deploy the app. When I clean the app and
>>> the
>>> target directory needs to be removed, Maven complains it cannot
>>> delete
>>> certain jars since they are in use by another application. Only
>>> when I
>>> manually undeploy the ear, or sometimes even only when I stop
>>> GlassFish
>>> all together, can the app be cleaned.
>>>
>>> Has anyoone else experienced this? I'm not sure if I should
>>> report this
>>> issue with GlassFish or with NetBeans.
>>>
>>>
>>> Thanks, Wouter
>>>
>>> --
>>> Cloudless everyday you fall upon my waking eyes
>>> inviting and inciting me to rise
>>> And through the window in the wall
>>> Come streaming in on sunlight wings
>>> A million bright ambassadors of morning
>>> [Pink Floyd - Echoes]
>>>
>>> Skype: wvreeven
>>> Facebook: wvreeven
>>> Twitter: wvreeven
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>
>> --
>> Cloudless everyday you fall upon my waking eyes
>> inviting and inciting me to rise
>> And through the window in the wall
>> Come streaming in on sunlight wings
>> A million bright ambassadors of morning
>> [Pink Floyd - Echoes]
>>
>> Skype: wvreeven
>> Facebook: wvreeven
>> Twitter: wvreeven
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net

-- 
Lime and limpid green a second scene,
A fight between the blue you once knew.
Floating down the sound resounds
Around the icy waters underground
[Pink Floyd - Astronomy Domine]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven