You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by Henny Bekker <He...@surfnet.nl> on 2012/03/02 16:43:39 UTC

BUILD FAILURE in: mvn cargo:start --> Unexpected end of ZLIB input stream

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

-- 
-----------------------------------------------------------------
Email: henny@surfnet.nl Voice: +31 30 2305335 Fax: +31 30 2305329
Web:   http://www.surfnetters.nl/henny/                   o
Paper: H.J. Bekker, SURFnet                           _  /- _
       Po Box 19035, 3501 DA Utrecht, Nederland      (_) > (_)
-----------------------------------------------------------------

Re: BUILD FAILURE in: mvn cargo:start --> Unexpected end of ZLIB input stream

Posted by Marlon Pierce <ma...@iu.edu>.
-----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<He...@surfnet.nl>  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-----

Re: BUILD FAILURE in: mvn cargo:start --> Unexpected end of ZLIB input stream

Posted by marijan milicevic <m....@onehippo.com>.
On 03/02/2012 05:24 PM, Jasha Joachimsthal wrote:
> On 2 March 2012 17:08, Henny Bekker<He...@surfnet.nl>  wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> 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
>> - --
>> - -----------------------------------------------------------------
>> Email: henny@surfnet.nl Voice: +31 30 2305335 Fax: +31 30 2305329
>> Web:   http://www.surfnetters.nl/henny/                   o
>> Paper: H.J. Bekker, SURFnet                           _  /- _
>>        Po Box 19035, 3501 DA Utrecht, Nederland      (_)>  (_)
>> - -----------------------------------------------------------------
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (Darwin)
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAk9Q8HMACgkQWU52zHJJkLZF6wCbB5qiUrhe+XMwhc+8tVAzNd2f
>> vrkAnRCL0uMBBU54EUCLoCx3odVtJEj0
>> =ixDj
>> -----END PGP SIGNATURE-----
>>


Re: BUILD FAILURE in: mvn cargo:start --> Unexpected end of ZLIB input stream

Posted by Jasha Joachimsthal <j....@onehippo.com>.
On 2 March 2012 17:08, Henny Bekker <He...@surfnet.nl> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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

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
> >
>
> - --
> - -----------------------------------------------------------------
> Email: henny@surfnet.nl Voice: +31 30 2305335 Fax: +31 30 2305329
> Web:   http://www.surfnetters.nl/henny/                   o
> Paper: H.J. Bekker, SURFnet                           _  /- _
>       Po Box 19035, 3501 DA Utrecht, Nederland      (_) > (_)
> - -----------------------------------------------------------------
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk9Q8HMACgkQWU52zHJJkLZF6wCbB5qiUrhe+XMwhc+8tVAzNd2f
> vrkAnRCL0uMBBU54EUCLoCx3odVtJEj0
> =ixDj
> -----END PGP SIGNATURE-----
>

Re: BUILD FAILURE in: mvn cargo:start --> Unexpected end of ZLIB input stream

Posted by Henny Bekker <He...@surfnet.nl>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

> 
> 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
> 

- -- 
- -----------------------------------------------------------------
Email: henny@surfnet.nl Voice: +31 30 2305335 Fax: +31 30 2305329
Web:   http://www.surfnetters.nl/henny/                   o
Paper: H.J. Bekker, SURFnet                           _  /- _
       Po Box 19035, 3501 DA Utrecht, Nederland      (_) > (_)
- -----------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9Q8HMACgkQWU52zHJJkLZF6wCbB5qiUrhe+XMwhc+8tVAzNd2f
vrkAnRCL0uMBBU54EUCLoCx3odVtJEj0
=ixDj
-----END PGP SIGNATURE-----

Re: BUILD FAILURE in: mvn cargo:start --> Unexpected end of ZLIB input stream

Posted by Marlon Pierce <ma...@iu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.


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/

iQEcBAEBAgAGBQJPUOvjAAoJEEfVXEODPFIDgm8H/3WENdQdWdmIaaKGbnXRpXRC
RL7axp+TLgFOkovJailQ7CKnYML9CpVRY8Izp7DBoBQ4wndOFxvKjuHJcgNLWZFP
DuE1n/DaYJwi5T7VDrXEzfDvJ0qkubnB469R7d1BmmObf0CqbskKdVY/YX5PJw2m
CxCPeeo7Unnt91gAqrNccODL/naKZeAP5EDozxzO2mv5i5+UY1WDsdqAQp8IwI30
raV1qAqBqsmS9F9+7dblKTK3wjDa7Q+fxEZhX7qLmWswUjMXs331//tiJXgh52ml
liCligwRDPnAHkIfQw4Jrgdr3ca6BAhmGWHJGsLXnirGv2fYTLrNHsbD0K8nPv4=
=5xTj
-----END PGP SIGNATURE-----