Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: maven.java.net issues
    • Labels:
      None

      Description

      not able to deploy project to maven.java.net.
      This seems to be intermittent.

      [WARNING] Failed to upload MD5 checksum for /Users/pavel/tyrus/tyrus~source-code-repository/branches/tyrus-1.0-rc4/trunk/samples/draw/target/tyrus-sample-draw-1.0-rc4-project-src.zip.asc: Failed to transfer file: https://maven.java.net/service/local/staging/deploy/maven2/org/glassfish/tyrus/samples/tyrus-sample-draw/1.0-rc4/tyrus-sample-draw-1.0-rc4-project-src.zip.asc.md5. Return code is: 401, ReasonPhrase: Unauthorized.
      org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://maven.java.net/service/local/staging/deploy/maven2/org/glassfish/tyrus/samples/tyrus-sample-draw/1.0-rc4/tyrus-sample-draw-1.0-rc4-project-src.zip.asc.md5. Return code is: 401, ReasonPhrase: Unauthorized.
          at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:626)
          at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:524)
          at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:505)
          at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.putFromStream(AbstractHttpClientWagon.java:499)
          at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.uploadChecksum(WagonRepositoryConnector.java:886)
          at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.uploadChecksums(WagonRepositoryConnector.java:861)
          at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:818)
          at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:467)
          at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:274)
          at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:211)
          at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:443)
          at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137)
          at org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:167)
          at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:188)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:601)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      

        Activity

        Hide
        Dhiru Pandey added a comment -

        Looks like some authentication issue. The stack trace has:

        Return code is: 401, ReasonPhrase: Unauthorized.

        Show
        Dhiru Pandey added a comment - Looks like some authentication issue. The stack trace has: Return code is: 401, ReasonPhrase: Unauthorized.
        Hide
        jorlina added a comment -

        What username is being used to do the deploy?

        I'm not aware of any changes to the Nexus instance, other than needing to restart it to load new SSL certificates into the key store.

        Authentication is provided via the Kenai realm, so the fact that this issue is intermittent leads me to think that there may be some communications issues between maven.java.net and kenai.

        The load on the box is actually quite minimal and there are no other indicators in the logs that Nexus is under any stress.

        Are there other projects being deployed where this is a problem?

        Show
        jorlina added a comment - What username is being used to do the deploy? I'm not aware of any changes to the Nexus instance, other than needing to restart it to load new SSL certificates into the key store. Authentication is provided via the Kenai realm, so the fact that this issue is intermittent leads me to think that there may be some communications issues between maven.java.net and kenai. The load on the box is actually quite minimal and there are no other indicators in the logs that Nexus is under any stress. Are there other projects being deployed where this is a problem?
        Hide
        Romain Grécourt added a comment -

        so far websocket, metro and jsonp reported this issue (within the last two days)

        Show
        Romain Grécourt added a comment - so far websocket, metro and jsonp reported this issue (within the last two days)
        Hide
        Romain Grécourt added a comment -

        +grizzly

        Show
        Romain Grécourt added a comment - +grizzly
        Hide
        jorlina added a comment -

        Does this problem occur with the java_re user? I ask because that user appears to be local to Nexus.

        Show
        jorlina added a comment - Does this problem occur with the java_re user? I ask because that user appears to be local to Nexus.
        Hide
        Romain Grécourt added a comment -

        I've not seen this issue with the java_re user.

        Show
        Romain Grécourt added a comment - I've not seen this issue with the java_re user.
        Hide
        jorlina added a comment -

        I've done some basic tests to verify that connectivity between maven.java.net and the kenai instance at https://java.net is working.

        When the deploy fails, does it always fail on a checksum file? Are jar files affected too?

        Also, can you provide the full mvn log output with the -X parameter?

        Show
        jorlina added a comment - I've done some basic tests to verify that connectivity between maven.java.net and the kenai instance at https://java.net is working. When the deploy fails, does it always fail on a checksum file? Are jar files affected too? Also, can you provide the full mvn log output with the -X parameter?
        Hide
        Romain Grécourt added a comment -

        It's been too long, marking as invalid.

        Show
        Romain Grécourt added a comment - It's been too long, marking as invalid.

          People

          • Assignee:
            jorlina
            Reporter:
            Romain Grécourt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: