I met the same problem. And I try again and again and still get the same
result. 
I find a better way and show it below.

You could change the Cargo Setting section in pom.xml. Change the
<cargo-container>'s 
url of apache-tomcat-6.0.14.zip to map to another valid mirror. And it's OK.

Or I think you could manually download the zip file and substitude the
corrupt zip file in your local folder.
Just give it a try. ^_^

Guorick
10/18/2007



mraible wrote:
> 
> This happens when your internet connection goes out while downloading
> - try deleting c:\DOCUME~1\fadhli\LOCALS~1\Temp\cargo\installs\ and
> trying again.
> 
> Matt
> 
> On 9/5/07, fadhli <[EMAIL PROTECTED]> wrote:
>> [INFO] [cargo:start {execution: start-container}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error while expanding
>> c:\DOCUME~1\fadhli\LOCALS~1\Temp\cargo\installs\apache-tomcat-6.0.14.zip
>> Unexpected end of ZLIB input stream
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> Error while expanding
>> c:\DOCUME~1\fadhli\LOCALS~1\Temp\cargo\installs\apache-tomcat-6.0.14.zip
>>         at
>> org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:164)
>>         at org.apache.tools.ant.taskdefs.Expand.execute
>> (Expand.java:127)
>>         at
>> org.codehaus.cargo.container.installer.ZipURLInstaller.unpack(ZipURLInstaller.java:239)
>>         at
>> org.codehaus.cargo.container.installer.ZipURLInstaller.install(ZipURLInstaller.java:136)
>>         at
>> org.codehaus.cargo.maven2.configuration.Container.setupHome(Container.java:337)
>>         at
>> org.codehaus.cargo.maven2.configuration.Container.createContainer(Container.java:221)
>>         at
>> org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer
>> (AbstractCargoMojo.java:380)
>>         at
>> org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer(AbstractCargoMojo.java:320)
>>         at
>> org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStartMojo.java
>> :52)
>>         at
>> org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:243)
>>         at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>> (DefaultLifecycleExecutor.java:539)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
>> 0)
>>
>> --
>> /fadhli
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-while-doing-mvn-install-on-Appfuse-modular-RC1.-tf4389346s2369.html#a13286711
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to