-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Cargo does seem to be hit or miss when it comes to downloading Tomcat from my quick tests today.
To reproduce the error reported below, 1) rm ~/.m2/repository/org/codehaus/cargo/cargo-container-archives/apache-tomcat-6.0.35.tar.gz 2) Run mvn clean install on Rave (this will delete a correctly downloaded Tomcat from your target directory). 3) Run mvn cargo:start Check the contents of ~/.m2/repository/org/codehaus/cargo/cargo-container-archives/. Right now, cargo is frequently failing to correctly download Tomcat. I repeat steps 1-3 until success. Marlon On 3/2/12 11:27 AM, marijan milicevic wrote: > On 03/02/2012 05:24 PM, Jasha Joachimsthal wrote: >> On 2 March 2012 17:08, Henny Bekker<[email protected]> wrote: >> > Hi Marlon,, > > On 02-03-12 16:48, Marlon Pierce wrote: >>>>> I've gotten this error as a result of partial or mangled downloads of >>>>> tomcat. You should be able to solve it by deleting >>>>> cargo-container-archives/apache-tomcat-6.0.35.tar.gz. This should >>>>> force a new download. >>>>> > I was unable to find the sub-directory cargo-container-archives with the > file apache-tomcat-6.0.35.tar.gz > I did removed all the content from > ./rave-portal/target/cargo/installs/apache-tomcat-6.0.35 which was > unsuccessful while it was recreated at the next instance of "mvn > cargo:start" .... > > Best regards, Henny > >>> It's inside your local Maven repository: ~/.m2/repository >> to be more precise: > >> /home/henny/.m2/repository/org/codehaus/cargo/cargo-container-archives/apache-tomcat-6.0.35.tar.gz > > >> cheers, >> marijan > >>> Jasha Joachimsthal >>> >>> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466 >>> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free) >>> >>> www.onehippo.com >>> >>>>> Marlon >>>>> >>>>> >>>>> On 3/2/12 10:43 AM, Henny Bekker wrote: >>>>>> Dear Rave-Dev list, >>>>>> I'm trying to run the the latest version of the rave-portal [at a >>>>>> RHEL v5.8 system and at a MacBookpro (with Mac OS X LION)] using >>>>>> Apache Maven 3.0.4. When executing "mvn cargo:start" (in the >>>>>> rave-portal subdirectory) at both systems I'm getting the same error: >>>>>> --- Failed to execute goal >>>>>> org.codehaus.cargo:cargo-maven2-plugin:1.1.0:start (default-cli) on >>>>>> project rave-portal: Execution default-cli of goal >>>>>> org.codehaus.cargo:cargo-maven2-plugin:1.1.0:start failed: Error >>>>>> while expanding >>>>>> > /home/henny/.m2/repository/org/codehaus/cargo/cargo-container-archives/apache-tomcat-6.0.35.tar.gz: >>>>>> >>>>>> > Unexpected end of ZLIB input stream >>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >>>>>> execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.0:start >>>>>> (default-cli) on project rave-portal: Execution default-cli of goal >>>>>> org.codehaus.cargo:cargo-maven2-plugin:1.1.0:start failed: Error >>>>>> while expanding >>>>>> > /home/henny/.m2/repository/org/codehaus/cargo/cargo-container-archives/apache-tomcat-6.0.35.tar.gz >>>>>> >>>>>> > --- >>>>>> What am I doing wrong ? >>>>>> Cheers, Henny >>> > > -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPUP35AAoJEEfVXEODPFIDHi0H/jDBzAUSuD3/vyapygPV2I2Q GT8tYPJNRjEny1ZKyk3gGb9IcnxKg3VgyCQ81JmrUihsJWpTsKD/F0sblJYHiQZZ 2bVRe3RQX/mLzhr2EgS8LeZ2ZvWkXW2EaughqbMAAGKDpYE8FEuoz94vDcC+PpZl Qg5nMTV1OlRedkBycL2blZ15uSScgam7qmYmVN85/3LGUqaN9bDdM/vNckf1fXvz DKeytLBkyoEG7FxtXccJX1dOn9IxOdvVm8aXI3MaCjyp/jd6fAofUgu1MLCzD+kM hnPh5NGTUrxhL5fvr5FZdXPSABrx1Q44M2JtznbN0aw8cknYffh6YjdyrwqSwI0= =bFy5 -----END PGP SIGNATURE-----
