dev@glassfish.java.net

Re: error in bootstrap-all from ibiblio.org

From: Dinesh Patil <Dinesh.Patil_at_Sun.COM>
Date: Fri, 12 Jan 2007 11:34:00 -0800

Kohsuke Kawaguchi wrote:

> Dinesh Patil wrote:
>
>> Lloyd L Chambers wrote:
>>
>>> Thanks. Can such messages be supressed?
>>
>>
>> Larry pointed me one of the suggestion:
>> http://blog.gmane.org/gmane.comp.jakarta.pluto.user
>> But that still doesn't resolve this Cookie warning, this is coming
>> due to maven repository link URL that we added, if we remove it
>> jasper, and maven-importer jars will fail to download, and build will
>> break. so we need to see how can we resolve it from the maven
>> repository url path.
>> URL : https://maven-repository.dev.java.net/nonav/repository
>
>
> I don't really understand the issue, but perhaps you just want to use
> the mirror of java.net m1 repository. See
> https://maven-repository.dev.java.net/ for the URL of the mirror.
>
thanks!
Yes I could resolve "Cookie" warning by using mirror of maven repository
and moved ibiblio.org last URL in the list to resolve second "Error"
warning.

    * Use mirror (http://maven1.glassfishwiki.org) of maven repository
      (https://maven-repository.dev.java.net/nonav/repository) without
      https to resolve Cookie warning:

    Attempting to download maven-repository-importer-1.1.jar.
    Cookie rejected: "$Version=0;
    JSESSIONID=58AD57367628F5C7C440B4F63A4C0426; $Path=/servlets". Ill
    egal path attribute "/servlets". Path of origin:
    "/nonav/repository/com.sun.wts.tools.mri/jars/m
    aven-repository-importer-1.1.jar"
    6K downloaded
    Cookie rejected: "$Version=0;
    JSESSIONID=D7AA1A6CC71425333FC5DECEA2FFD9AB; $Path=/servlets". Ill
    egal path attribute "/servlets". Path of origin:
    "/nonav/repository/com.sun.wts.tools.mri/jars/m
    aven-repository-importer-1.1.jar.md5"
    Attempting to download jdmk-5.1-FCS-PATCH1.jar.
    145/1446K

    * Move ibiblio.org at the last to resolve the other warning "Error
      retrieving artifact"

    maven.repo.remote=http://download.java.net/javaee5/trunk/nightly/${glassfish.os.name}/,
    http://download.java.net/javaee5/external/${glassfish.os.name}/,http://download.java.net/javaee5/external/shared,
    http://maven1.glassfishwiki.org,http://www.ibiblio.org/maven

    Attempting to download maven-repository-importer-1.1.jar.
    Error retrieving artifact from
    [http://www.ibiblio.org/maven/com.sun.wts.tools.mri/jars/maven-repository-importer-1.1.jar]:
    java.io.IOException: Unknown error downloading; status code was: 301
    6K downloaded
    Attempting to download jasper-jsr199-9.1.jar.
    Error retrieving artifact from
    [http://www.ibiblio.org/maven/jasper-jsr199/jars/jasper-jsr199-9.1.jar]:
    java.io.IOException: Unknown error downloading; status code was: 301
    8K downloaded

I will checkin this as a issue-fix of #2035.
thanks
Dinesh