Hi all,

Is anyone aware that the following command

        mvn clean install deploy site-deploy

will hang when site-deploy executes the following rm command 

        command: cd /home/builder/454/deploy/site/common/.; unzip -o 
        > wagon47499.zip; rm -f wagon47499.zip 

I'm using Maven 2.0.2, Red Hat 4.  
Arnaud Bally reported the same using Maven 2.0.2, SuSe 9.2.

The threads below are from our discussions in the Continuum group.  We 
determined this is NOT a Continuum problem, rather is appears to be 
consistently stemming from the site-deploy plugin.



-----Original Message-----
From: Michael Böckling [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 07, 2006 5:05 AM
To: continuum-users@maven.apache.org
Subject: Re: Continuum and site-deploy or wagon hanging

Nope, I experienced the exact same problem. Here it happens on a SuSe 
9.2 with Maven 2.0.2 (and also in Continuum, of course). I had the 
impression that this does not affect small sites, but only large ones 
with many reports and all.
It seems the site *does* get deployed correctly, but it hangs at very 
same line (wagon47499.zip; rm -f wagon47499.zip) when trying to delete 
the temporary upload file.
Can't be a problem with permissions, since it only happens now and then. 
Defining a timeout is really essential, since it hangs forever once it 
gets stuck.

Regards,
Michael


> Hmm, all problems were fixed in wagon for maven 2.0.2.
>
> If you have pb with this version, send a message to maven user list.
>
> Emmanuel
>
> Arnaud Bailly a écrit :
>
>> Hi,
>> We are experiencing same problem : wagon hangs on ssh deploy and
>> site-deploy in a random way. Sometimes it works, sometimes it doesn't.
>> This has nothing to do with continuum as the problem occurs in maven
>> direct invocations. Solutions are of course welcomed, I was not able 
>> to trace the cause of
>> this problem (files permissions ok, ssh auth ok).
>
-- 
Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel
P: +41 61 226 99 63 - F: +41 61 226 99 69
[EMAIL PROTECTED]; http://www.giniality.com/



Good question, thanks.  Yes when run from the command line 

        mvn clean install deploy site-deploy

it Maven hangs in the sample place.  The M2 site-deploy plugin is hanging on 
the unzip command.  

I will send my findings to the site-deploy plugin mailing list and let you know 
when there is a resolution.

Although this is unrelated to Continuum, Continuum should handle this 
gracefully.  The only way to work around the problem is to restart the 
Continuum server (and not use the site-deploy command for the moment). Perhaps 
adding some sort of daemon that detects a hung condition would strengthen its 
fault tolerance.


-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 3:52 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum and site-deploy or wagon hanging

Do you have the same problem when you call site-deploy directly for maven on 
your continuum machine?
When a goal is called, it's an external maven process that run it and not 
Continuum.

Emmanuel

Johnson, Jonathan a écrit :
> Anyone having problems with Continuum or site-deploy or wagon hanging?
> 
> Using Continuum 1.0.2, Maven 2.0.2.
> 
> I recently added deploy and deploy-site to my Continuum build and have 
> found Continuum will hang waiting for the build to finish.  If I 
> restart Continuum and force the build again it will sometimes work, 
> sometimes it hangs again.
> 
> It always hangs at the same place, just after calling unzip on the 
> site zip file expansion.  The site does get expanded so it seems to 
> hang just after completing the expansion.
> 
> Tail of build report.  
> 
> ...
> [INFO] ResourceManager : found templates/package-frame.vm with loader 
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> [INFO] Generate "Maven Surefire Report" report.
> [INFO] Generate "Tag List" report.
> [INFO] Generate an index file for the English version.
> [INFO] [site:deploy]
> scp://hober/home/builder/454/deploy/site/common - Session: Opened 
> Executing command: mkdir -p /home/builder/454/deploy/site/common/.
> Executing command: mkdir -p /home/builder/454/deploy/site/common/.
> Executing command: scp -t
> /home/builder/454/deploy/site/common/./wagon47499.zip
> Uploading: ./wagon47499.zip to
> scp://hober/home/builder/454/deploy/site/common
> 
> ###[...for email, bunch of pounds omitted...]#####! 
> ###[...omitted...]##
> 
> Transfer finished. 6317094 bytes copied in 3.269 seconds Executing
> command: cd /home/builder/454/deploy/site/common/.; unzip -o 
> wagon47499.zip; rm -f wagon47499.zip ^^^^ Hung here ^^^^



LEGAL NOTICE:
Unless expressly stated otherwise, this message is confidential and may be 
privileged. It is intended for the addressee(s) only. Access to this e-mail by 
anyone else is unauthorized. If you are not an addressee, any disclosure or 
copying of the contents or any action taken (or not taken) in reliance on it is 
unauthorized and may be unlawful. If you are not an addressee, please inform 
the sender immediately.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to