You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Sridhar Lakshmikanthan <sr...@oracle.com> on 2020/07/09 20:08:45 UTC
Issue with building Apache Lucene 8.3.0 on Linux -
(java.net.ConnectException: Connection timed out
Hello All
I have following installed:
Apache Ant(TM) version 1.10.8
Linux 4.1.12-124.38.1.el6uek.x86_64
Manually copied ivy-2.4.0.jar file to <User-Dir>/.ant/lib folder
Also set ANT_HOME and PATH varaibles
ANT_OPTS is set to correct environment variable
-Dhttp.proxyHost=HOST -Dhttp.proxyPort=port
Additionally in the common-build.xml located under the directory:
lucene-8.3.0
I have added the PROXY as shown below
<dirname file="${ant.file.common}" property="common.dir"/>
<!-- Give user a chance to override without editing this file
(and without typing -D each time it compiles it -->
<setproxy proxyhost="HOST" proxyport="PORT" />
<property file="${user.home}/lucene.build.properties"/>
<property file="${user.home}/build.properties"/>
<property file="${common.dir}/build.properties"
_*Need HELP with the following:*_
* <User-Directory>/.ivy2 folder
o there is only <cache> folder>
o Repositories folders: local and shared are not created - how do
ensure that ANT build run creates these repo
* Also manually copy groovy-2.4.16.jar under
cache/org.codehaus.groovy/groovy-all/groovy-2.4.16.jar
* How to resolve the Connection Exception error
* Please note I am able to access the same HTTPS URL via Wget or Curl,
but not from build.xml included as part of apache-lucene8.3.0 bundle
Appreciate your help
Thank You
o
ERROR MESSAGE
==========
[ivy:cachepath]
[ivy:cachepath] :: problems summary ::
[ivy:cachepath] :::: WARNINGS
[ivy:cachepath] module not found:
org.codehaus.groovy#groovy-all;2.4.16
[ivy:cachepath] ==== local: tried
[ivy:cachepath]
<user-directory>/.ivy2/local/org.codehaus.groovy/groovy-all/2.4.16/ivys/ivy.xml
[ivy:cachepath] -- artifact
org.codehaus.groovy#groovy-all;2.4.16!groovy-all.jar:
[ivy:cachepath]
<user-directory>.ivy2/local/org.codehaus.groovy/groovy-all/2.4.16/jars/groovy-all.jar
[ivy:cachepath] ==== shared: tried
[ivy:cachepath]
<user-directory>/.ivy2/shared/org.codehaus.groovy/groovy-all/2.4.16/ivys/ivy.xml
[ivy:cachepath] -- artifact
org.codehaus.groovy#groovy-all;2.4.16!groovy-all.jar:
[ivy:cachepath]
<user-directory>/.ivy2/shared/org.codehaus.groovy/groovy-all/2.4.16/jars/groovy-all.jar
[ivy:cachepath] ==== public: tried
[ivy:cachepath]
https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.pom
[ivy:cachepath] -- artifact
org.codehaus.groovy#groovy-all;2.4.16!groovy-all.jar:
[ivy:cachepath]
https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar
[ivy:cachepath] ==== maven.restlet.com: tried
[ivy:cachepath]
https://maven.restlet.com/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.pom
[ivy:cachepath] -- artifact
org.codehaus.groovy#groovy-all;2.4.16!groovy-all.jar:
[ivy:cachepath]
https://maven.restlet.com/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar
[ivy:cachepath] ==== sonatype-releases: tried
[ivy:cachepath]
https://oss.sonatype.org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.pom
[ivy:cachepath] -- artifact
org.codehaus.groovy#groovy-all;2.4.16!groovy-all.jar:
[ivy:cachepath]
https://oss.sonatype.org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar
[ivy:cachepath] ==== releases.cloudera.com: tried
[ivy:cachepath]
https://repository.cloudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.pom
[ivy:cachepath] -- artifact
org.codehaus.groovy#groovy-all;2.4.16!groovy-all.jar:
[ivy:cachepath]
https://repository.cloudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] :: UNRESOLVED DEPENDENCIES ::
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] :: org.codehaus.groovy#groovy-all;2.4.16: not found
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] :::: ERRORS
[ivy:cachepath] Server access error at url
https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.pom
(java.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath] Server access error at url
https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar
(java.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath] Server access error at url
https://maven.restlet.com/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.pom
(java.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath] Server access error at url
https://maven.restlet.com/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar
(java.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath] Server access error at url
https://oss.sonatype.org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.pom
(java.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath] Server access error at url
https://oss.sonatype.org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar
(java.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath] Server access error at url
https://repository.cloudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.pom
(java.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath] Server access error at url
https://repository.cloudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar
(java.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath]
[ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS