[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Claus Ibsen (JIRA)

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

Claus Ibsen commented on CAMEL-11506:
-

Okay pushed some code fixes to master and 2.19.x branch that uses http client 
3.1 with a default timeout of 1 millis.

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Improvement
>  Components: tooling
>Affects Versions: 2.19.0
>Reporter: Lars Heinemann
>Assignee: Claus Ibsen
> Fix For: 2.19.2, 2.20.0
>
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.exists(URLResource.java:84)
>   at 
> org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPattern(RepositoryResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findResourceUsingPatterns(AbstractPatternsBasedResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.findArtifactRef(IBiblioResolver.java:125)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getArtifactRef(BasicResolver.java:1034)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.findFirstArtifactRef(BasicResolver.java:971)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:243)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:506)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:104)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve

[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Claus Ibsen (JIRA)

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

Claus Ibsen commented on CAMEL-11506:
-

Okay I am trying to make it use the http-client instead for http/https download 
which seems to have some kind of timeout support.

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Improvement
>  Components: tooling
>Affects Versions: 2.19.0
>Reporter: Lars Heinemann
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.exists(URLResource.java:84)
>   at 
> org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPattern(RepositoryResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findResourceUsingPatterns(AbstractPatternsBasedResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.findArtifactRef(IBiblioResolver.java:125)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getArtifactRef(BasicResolver.java:1034)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.findFirstArtifactRef(BasicResolver.java:971)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:243)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:506)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:104)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown

[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Claus Ibsen (JIRA)

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

Claus Ibsen commented on CAMEL-11506:
-

Ah Apache Ivy allows to use the older http client 3.1 instead of the JDK, so we 
can try to add it to the classpath
{code}
/**
 * This method is used to get appropriate http downloader dependening on 
Jakarta Commons
 * HttpClient availability in classpath, or simply use jdk url handling in 
other cases.
 * 
 * @return most accurate http downloader
 */
public static URLHandler getHttp() {
try {
Class.forName("org.apache.commons.httpclient.HttpClient");

// temporary fix for IVY-880: only use HttpClientHandler when
// http-client-3.x is available

Class.forName("org.apache.commons.httpclient.params.HttpClientParams");

Class handler = 
Class.forName("org.apache.ivy.util.url.HttpClientHandler");
Message.verbose("jakarta commons httpclient detected: using it for 
http downloading");
return (URLHandler) handler.newInstance();
} catch (ClassNotFoundException e) {
Message.verbose("jakarta commons httpclient not found: using jdk 
url handling");
return new BasicURLHandler();
} catch (NoClassDefFoundError e) {
Message.verbose("error occurred while loading jakarta commons 
httpclient: "
+ e.getMessage());
Message.verbose("Using jdk url handling instead.");
return new BasicURLHandler();
} catch (InstantiationException e) {
Message.verbose("couldn't instantiate HttpClientHandler: using jdk 
url handling");
return new BasicURLHandler();
} catch (IllegalAccessException e) {
Message.verbose("couldn't instantiate HttpClientHandler: using jdk 
url handling");
return new BasicURLHandler();
}
}
{code}

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Improvement
>  Components: tooling
>Affects Versions: 2.19.0
>Reporter: Lars Heinemann
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache

[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Claus Ibsen (JIRA)

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

Claus Ibsen commented on CAMEL-11506:
-

What JDK version do you use, maybe try to upgrade, as you end up using the HTTP 
client from the JDK (according to stacktrace) and it may be better in newer 
version. 

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Improvement
>  Components: tooling
>Affects Versions: 2.19.0
>Reporter: Lars Heinemann
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.exists(URLResource.java:84)
>   at 
> org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPattern(RepositoryResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findResourceUsingPatterns(AbstractPatternsBasedResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.findArtifactRef(IBiblioResolver.java:125)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getArtifactRef(BasicResolver.java:1034)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.findFirstArtifactRef(BasicResolver.java:971)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:243)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:506)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:104)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.

[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Lars Heinemann (JIRA)

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

Lars Heinemann commented on CAMEL-11506:


I already tried starting the CI job with params 
{noformat}
-Dsun.net.client.defaultConnectTimeout=3
-Dsun.net.client.defaultReadTimeout=3
{noformat}
but that seemed to have no effect.

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Improvement
>  Components: tooling
>Affects Versions: 2.19.0
>Reporter: Lars Heinemann
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.exists(URLResource.java:84)
>   at 
> org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPattern(RepositoryResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findResourceUsingPatterns(AbstractPatternsBasedResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.findArtifactRef(IBiblioResolver.java:125)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getArtifactRef(BasicResolver.java:1034)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.findFirstArtifactRef(BasicResolver.java:971)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:243)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:506)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:104)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolv

[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Zoran Regvart (JIRA)

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

Zoran Regvart commented on CAMEL-11506:
---

[~lhein] Can setting {{sun.net.client.defaultConnectTimeout}} (a Java system 
property) help in your case? See [Java networking 
properties|https://docs.oracle.com/javase/8/docs/technotes/guides/net/properties.html].
 Do note that you can set it only once and on startup (see 
[JDK-6245589|https://bugs.openjdk.java.net/browse/JDK-6245589]). Might work as 
a temporary workaround.

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Improvement
>  Components: tooling
>Affects Versions: 2.19.0
>Reporter: Lars Heinemann
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.exists(URLResource.java:84)
>   at 
> org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPattern(RepositoryResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findResourceUsingPatterns(AbstractPatternsBasedResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.findArtifactRef(IBiblioResolver.java:125)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getArtifactRef(BasicResolver.java:1034)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.findFirstArtifactRef(BasicResolver.java:971)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:243)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:506)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:104)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.

[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Lars Heinemann (JIRA)

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

Lars Heinemann commented on CAMEL-11506:


corrected the affected version to 2.19.0 which is the one I used.

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Improvement
>  Components: tooling
>Affects Versions: 2.19.0
>Reporter: Lars Heinemann
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.exists(URLResource.java:84)
>   at 
> org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPattern(RepositoryResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findResourceUsingPatterns(AbstractPatternsBasedResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.findArtifactRef(IBiblioResolver.java:125)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getArtifactRef(BasicResolver.java:1034)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.findFirstArtifactRef(BasicResolver.java:971)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:243)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:506)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:104)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(G

[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Claus Ibsen (JIRA)

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

Claus Ibsen commented on CAMEL-11506:
-

Its Apache Ivy that would need to support timeout which it does not
https://issues.apache.org/jira/browse/IVY-735

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Improvement
>  Components: tooling
>Affects Versions: 2.19.1
>Reporter: Lars Heinemann
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.exists(URLResource.java:84)
>   at 
> org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPattern(RepositoryResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findResourceUsingPatterns(AbstractPatternsBasedResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.findArtifactRef(IBiblioResolver.java:125)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getArtifactRef(BasicResolver.java:1034)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.findFirstArtifactRef(BasicResolver.java:971)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:243)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:506)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:104)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   

[jira] [Commented] (CAMEL-11506) MavenVersionManager blocks on unavailable URL

2017-07-04 Thread Claus Ibsen (JIRA)

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

Claus Ibsen commented on CAMEL-11506:
-

Its maybe something on your end etc. as trying to load an unknown version here, 
just don't do that, and it exit after a short while.


Also your stacktrace does not fit with Camel 2.19.1 as 
MavenVersionManager.java:91 is the follow code line

{code}
param.put("classLoader", classLoader);
{code}

> MavenVersionManager blocks on unavailable URL
> -
>
> Key: CAMEL-11506
> URL: https://issues.apache.org/jira/browse/CAMEL-11506
> Project: Camel
>  Issue Type: Bug
>  Components: tooling
>Affects Versions: 2.19.1
>Reporter: Lars Heinemann
>Priority: Critical
>
> If I try to load the catalog of a not existing Camel version using the 
> MavenVersionManager then the call to load does not return.
> Below is the appropriate stack of the thread which is never returning. 
> {noformat}
> "main" #1 prio=6 os_prio=0 tid=0x7f6ea800b000 nid=0x12da runnable 
> [0x7f6eb2013000]
>java.lang.Thread.State: RUNNABLE
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
>   at sun.security.ssl.InputRecord.read(InputRecord.java:503)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
>   - locked <0x0007b0be7870> (a java.lang.Object)
>   at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
>   at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>   - locked <0x0007b0be8668> (a sun.security.ssl.AppInputStream)
>   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   - locked <0x000773a4de60> (a java.io.BufferedInputStream)
>   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
>   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
>   - locked <0x000773a4baa0> (a 
> sun.net.www.protocol.https.DelegateHttpsURLConnection)
>   at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.checkStatusCode(BasicURLHandler.java:131)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:73)
>   at 
> org.apache.ivy.util.url.BasicURLHandler.getURLInfo(BasicURLHandler.java:54)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.init(URLResource.java:68)
>   at 
> org.apache.ivy.plugins.repository.url.URLResource.exists(URLResource.java:84)
>   at 
> org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPattern(RepositoryResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findResourceUsingPatterns(AbstractPatternsBasedResolver.java:97)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.findArtifactRef(IBiblioResolver.java:125)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getArtifactRef(BasicResolver.java:1034)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.findFirstArtifactRef(BasicResolver.java:971)
>   at 
> org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:243)
>   at 
> org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:506)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:104)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine