quality@glassfish.java.net

Re: Redeployment of the same war fails under Vista

From: Tim Quinn <Timothy.Quinn_at_Sun.COM>
Date: Mon, 01 Sep 2008 18:12:22 -0500

Just so the folks on this alias are up-to-date ...

I've identified where in the server the locked JAR file is opened. That
may or may not be where it should be closed; I've asked the web
container folks to look into this. Follow further progress on the issue
itself: https://glassfish.dev.java.net/issues/show_bug.cgi?id=5808

- Tim

Judy Tang wrote:
> Hi Adam,
>
> Does this error occurs every time when you try to do redeployment. It
> could be related to window file lock,
> the previous deploy did not release lock ?
>
> If this is the case, It is not easy to know what process holds the
> lock. Follow is an email from Tim on how to diagnose window
> lock situation. May be we can wait for some confirmation from
> developer and see how to diagnose this further. Thanks, Judy
>
> ------
>
> 1. Use a tool such as "handle" (see
> http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx) to find
> out for certain what processes have the file open.
>
> 2. If GlassFish is the culprit, then please look at this blog entry:
>
> http://blogs.sun.com/quinn/entry/tool_for_diagnosing_failed_glassfish
>
> There is a link to a small tool JAR you can download and run to help
> find where the locking originates. Follow the directions carefully -
> especially the order in which you do things - to get the most valuable
> output.
>
>
>
> Adam Bien wrote:
>
>> See more for details:
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5808,
>>
>> I assume it happens on windows (Vista is great :-)) only. I had
>> already some locking problems with GF v2...
>>
>> regards,
>>
>> adam
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>