quality@glassfish.java.net

Re: Redeployment of the same war fails under Vista

From: Adam Bien <abien_at_adam-bien.com>
Date: Tue, 02 Sep 2008 10:49:17 +0200

Hi Tim,

I had the problem over and over again with GF v2. and incremental
deployment with Netbeans:

http://www.adam-bien.com/roller/abien/entry/re_deployment_problems_of_ears

Vince Kramer already worked on this problem with GF v2,

regards,

adam



Tim Quinn schrieb:
> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>


-- 
 Consultant, Author, Java Champion
 
 Homepage: www.adam-bien.com
 Weblog: blog.adam-bien.com
 eMail:  abien_at_adam-bien.com
 Mobile: 0049(0)170 280 3144
 Books: Enterprise Architekturen (ISBN: 393504299X),
        Java EE 5 Architekturen  (ISBN: 3939084247),
        J2EE Patterns, J2EE Hotspots, Enterprise Frameworks and Struts