You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by si...@insession.com on 2005/04/11 13:46:56 UTC
maven HTTP 302 errors and the jetty-builder and spring-builder modules
Hi Jeremy,
I am getting 46 of these types of errors when performing an online build:
Attempting to download geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar.
Error retrieving artifact from
[http://www.apache.org/~jboynes/geronimo/plugins/geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar]:
java.io.
IOException: Unknown error downloading; status code was: 302
The errors occur in the jetty-builder and spring-builder modules.
Can you please change your maven.repo.remote to point to
http://people.apache.org/~jboynes in these two modules.
FYI.. On a related note, I had quick look at the Maven 1.0.2 source for
the org.apache.maven.util.HttpUtils.retrieveArtifact(..) method and it
appears that the
redirection isn't actually performed (since it throws an IOException and
doesn't return the redirectURL).
http://svn.apache.org/viewcvs.cgi/maven/maven-1/core/trunk/src/java/org/apache/maven/util/HttpUtils.java?rev=122514&view=markup
I noticed that this code has been completely changed in HEAD, so probably
not worth following up. I'm not sure if this has been causing people
problems.
Thanks,
John
some notes..
=================================================================================
telnet www.apache.org 80
GET /~jboynes/geronimo/plugins/geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar
HTTP/1.0
Host: www.apache.org
HTTP/1.1 302 Found
Date: Mon, 11 Apr 2005 10:47:17 GMT
Server: Apache/2.0.53 (Unix) mod_ssl/2.0.53 OpenSSL/0.9.7a DAV/2
SVN/1.2.0-dev
Location:
http://cvs.apache.org/~jboynes/geronimo/plugins/geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar
Cache-Control: max-age=86400
Expires: Tue, 12 Apr 2005 10:47:17 GMT
Content-Length: 401
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302
Found</title>
</head><body>
<h1>Found</h1>
<p>The document has
moved <a
href="http://cvs.apache.org/~jboynes/geronimo/plugins/geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar">here</a>.</p>
<hr>
<address
>Apache/2.0.53 (Unix) mod_ssl/2.0.53 OpenSSL/0.9.7a DAV/2 SVN/1.2.0-dev
Server at www.apache.org Port 80</address>
</body></html>
=================================================================================
Manually following the redirect results in another 302 error, this time
redirecting to people.apache.org
telnet cvs.apache.org 80
GET /~jboynes/geronimo/plugins/geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar
HTTP/1.0
Host: cvs.apache.org
HTTP/1.1 302 Found
Date: Mon, 11 Apr 2005 10:49:52 GMT
Server: Apache/2.1.3-dev (Unix) SVN/1.1.4-dev mod_ssl/2.1.3-dev
OpenSSL/0.9.7d DAV/2
Location:
http://people.apache.org/~jboynes/geronimo/plugins/geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar
Vary: Accept-Encoding
Content-Length: 410
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302
Found</title>
</head><body>
<h1>Found</h1>
<p>The document has
moved <a
href="http://people.apache.org/~jboynes/geronimo/plugins/geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar">here</a>.</p>
<hr>
<addr
ess>Apache/2.1.3-dev (Unix) SVN/1.1.4-dev mod_ssl/2.1.3-dev OpenSSL/0.9.7d
DAV/2 Server at cvs.apache.org Port 80</address>
</body></
html>
==================
If I follow the redirect to people.apache.org returns I get a 404 error.
This e-mail message and any attachments may contain confidential,
proprietary or non-public information. This information is intended
solely for the designated recipient(s). If an addressing or transmission
error has misdirected this e-mail, please notify the sender immediately
and destroy this e-mail. Any review, dissemination, use or reliance upon
this information by unintended recipients is prohibited. Any opinions
expressed in this e-mail are those of the author personally.
Re: maven HTTP 302 errors and the jetty-builder and spring-builder modules
Posted by David Jencks <dj...@gluecode.com>.
On Apr 11, 2005, at 6:07 AM, sissonj@insession.com wrote:
> David Jencks,
>
> Could you please change your maven.repo.remote for the timer module to
> point to http://people.apache.org/~djencks .
AFAICT this isn't needed, so I removed it. I also did some dependency
cleanup.
If this causes problems for anyone please let me know.
> While you are at it... It
> might also be worth changing the commented out repo values in
> geronimo\project.properties in case someone decides to uncomment one in
> the future.
I think that this repo list isn't used for anything.... anyone know for
sure?
thanks
david jencks
>
> Thanks,
>
> John
>
> sissonj@insession.com wrote on 11/04/2005 09:46:56 PM:
>
>> Hi Jeremy,
>>
>> I am getting 46 of these types of errors when performing an online
> build:
>>
>> Attempting to download geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar.
>> Error retrieving artifact from
>> [http://www.apache.org/~jboynes/geronimo/plugins/geronimo-xmlbeans-
>> plugin-1.0-SNAPSHOT.jar]:
>> java.io.
>> IOException: Unknown error downloading; status code was: 302
>>
>> The errors occur in the jetty-builder and spring-builder modules.
>>
>> Can you please change your maven.repo.remote to point to
>> http://people.apache.org/~jboynes in these two modules.
>>
> <SNIP>
>>
>> Thanks,
>>
>> John
> <SNIP>
>>
>> This e-mail message and any attachments may contain confidential,
>> proprietary or non-public information. This information is intended
>> solely for the designated recipient(s). If an addressing or
> transmission
>> error has misdirected this e-mail, please notify the sender
>> immediately
>> and destroy this e-mail. Any review, dissemination, use or reliance
> upon
>> this information by unintended recipients is prohibited. Any opinions
>> expressed in this e-mail are those of the author personally.
>
Re: maven HTTP 302 errors and the jetty-builder and spring-builder modules
Posted by si...@insession.com.
David Jencks,
Could you please change your maven.repo.remote for the timer module to
point to http://people.apache.org/~djencks . While you are at it... It
might also be worth changing the commented out repo values in
geronimo\project.properties in case someone decides to uncomment one in
the future.
Thanks,
John
sissonj@insession.com wrote on 11/04/2005 09:46:56 PM:
> Hi Jeremy,
>
> I am getting 46 of these types of errors when performing an online
build:
>
> Attempting to download geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar.
> Error retrieving artifact from
> [http://www.apache.org/~jboynes/geronimo/plugins/geronimo-xmlbeans-
> plugin-1.0-SNAPSHOT.jar]:
> java.io.
> IOException: Unknown error downloading; status code was: 302
>
> The errors occur in the jetty-builder and spring-builder modules.
>
> Can you please change your maven.repo.remote to point to
> http://people.apache.org/~jboynes in these two modules.
>
<SNIP>
>
> Thanks,
>
> John
<SNIP>
>
> This e-mail message and any attachments may contain confidential,
> proprietary or non-public information. This information is intended
> solely for the designated recipient(s). If an addressing or
transmission
> error has misdirected this e-mail, please notify the sender immediately
> and destroy this e-mail. Any review, dissemination, use or reliance
upon
> this information by unintended recipients is prohibited. Any opinions
> expressed in this e-mail are those of the author personally.