[ 
https://issues.apache.org/jira/browse/MNG-7012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227871#comment-17227871
 ] 

Frank Rachel edited comment on MNG-7012 at 11/7/20, 10:32 PM:
--------------------------------------------------------------

It's not a vendor modified version. We install it in the container via this 
section of the Dockerfile:

 
  
{code:java}
ARG MAVEN_VERSION=3.6.3 
RUN mkdir -p /usr/share/maven && \ 
curl -fsSL 
http://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
 | tar -xzC /usr/share/maven --strip-components=1 && \ 
ln -s /usr/share/maven/bin/mvn /usr/bin/mvn 
ENV MAVEN_HOME /usr/share/maven 
ENV MAVEN_CONFIG "/root/.m2"{code}
 

 


was (Author: frachel):
It's not a vendor modified version. We install it in the container via this 
section of the Dockerfile:

 
 
{code:java}
ARG MAVEN_VERSION=3.6.3 RUN mkdir -p /usr/share/maven && \ curl -fsSL 
http://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
 | tar -xzC /usr/share/maven --strip-components=1 && \ ln -s 
/usr/share/maven/bin/mvn /usr/bin/mvn ENV MAVEN_HOME /usr/share/maven ENV 
MAVEN_CONFIG "/root/.m2"{code}
 

  

> Intermittent java.lang.IllegalStateException - entry has not been leased from 
> this pool
> ---------------------------------------------------------------------------------------
>
>                 Key: MNG-7012
>                 URL: https://issues.apache.org/jira/browse/MNG-7012
>             Project: Maven
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.6.0
>         Environment: Docker (debian:buster as the parent)
>            Reporter: Frank Rachel
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>
> We are sporadically getting this error:
> {code:java}
> 2020:11:03-02:39:51 [WARNING] Failed to load provider from: 
> org.codehaus.gmaven.runtime.loader.artifact.ArtifactProviderLoader@46256128
> org.apache.maven.artifact.resolver.ArtifactResolutionException: Could not 
> transfer artifact jline:jline:jar:0.9.94 from/to internal-nexus 
> (http://ml-pecb-dk01.alipacn.com:50005/repository/alip-repo/): Entry 
> [id:541][route:{}->http://ml-pecb-dk01.alipacn.com:50005][state:null] has not 
> been leased from this pool
> jline:jline:jar:0.9.94{code}
> in our builds when download artifact from our Nexus repo. This happened under 
> 3.5.4, and stil under 3.6.0 (we can't yet upgrade to 3.6.3, but will be able 
> to soon).
> It's not always on the same artifact as the exception. This seems to happen 
> for about 10% of our builds.. we just re-run it and most of the times it then 
> works.
> It also didn't seem to happen when we were using Artifactory (an old version) 
> instead of Nexus, though not sure that's related since a lot of other things 
> changed at the same time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to