пн, 18 мая 2020 г. в 16:20, Violeta Georgieva <violet...@apache.org>: > > > > На пт, 8.05.2020 г. в 11:03 Rainer Jung <rainer.j...@kippdata.de> написа: > > > > It seems commons-logging 1.1.3 is no longer part of the mirrors (only in > > the archive). I had to use > > > > commons-logging.version=1.2 > > commons-logging-src.checksum.value=ce977548f1cbf46918e93cd38ac35163|0a134d01e9aeb09b33f4c7450fb41abb7bed9db6 > > > > instead of > > > > commons-logging.version=1.1.3 > > commons-logging-src.checksum.value=e8e197d628436490886d17cffa108fe3|95f0805de0be927c42f5f6eb14b643cb37e7caad > > > > > > to successfully build. > > This should be fixed > https://github.com/apache/tomcat/commit/d13d3f6d7bdabab543e134bbf7e29621524db3ca > > Can you try it?
The "downloadfile-2" target in build.xml should automatically switch from main server to the archive. IIRC, it relies on a check that does a HEAD request. "base-apache.loc.1" URL in build.properties.default was last changed on 2018-07-30 Testing, 7.0.104, it depends on the version of Java: - commons-logging-1.1.3 is correctly downloaded when running with Ant 1.9.14 and Java 8u252 (jdk-8.0.252.09-hotspot from AdoptOpenJDK) - The download fails when running with Java 14.0.1 (OpenJDK from Oracle) In February 2020 I was successfully running the downloads with Java 13 (13.0.2? for Tomcat 7.0.100). So the issue is caused by some change in the JDK. With Java 14: [[[ testexist: [echo] Testing for ../libraries/commons-logging-1.1.3/commons-logging-1.1.3-src.tar.gz downloadfile-2: setproxy: trydownload.check: trydownload: [get] Getting: http://www.apache.org/dyn/closer.lua?action=download&filename=/commons/logging/source/commons-logging-1.1.3-src.tar.gz [get] To: [CENSORED]\libraries\download-343673329.tmp [get] http://www.apache.org/dyn/closer.lua?action=download&filename=/commons/logging/source/commons-logging-1.1.3-src.tar.gz moved to http://mirror.linux-ia64.org/apache//commons/logging/source/commons-logging-1.1.3-src.tar.gz [get] Error opening connection java.io.FileNotFoundException: http://mirror.linux-ia64.org/apache//commons/logging/source/commons-logging-1.1.3-src.tar.gz [get] Error opening connection java.io.FileNotFoundException: http://mirror.linux-ia64.org/apache//commons/logging/source/commons-logging-1.1.3-src.tar.gz [get] Error opening connection java.io.FileNotFoundException: http://mirror.linux-ia64.org/apache//commons/logging/source/commons-logging-1.1.3-src.tar.gz [get] Can't get http://www.apache.org/dyn/closer.lua?action=download&filename=/commons/logging/source/commons-logging-1.1.3-src.tar.gz to [CENSORED]\libraries\download-343673329.tmp BUILD FAILED ]]] With Java 8: [[[ testexist: [echo] Testing for ../libraries/commons-logging-1.1.3/commons-logging-1.1.3-src.tar.gz downloadfile-2: setproxy: trydownload.check: trydownload: setproxy: trydownload.check: trydownload: [get] Getting: https://archive.apache.org/dist/commons/logging/source/commons-logging-1.1.3-src.tar.gz [get] To: [CENSORED]\libraries\download-1517317068.tmp [echo] Checksum check for commons-logging-1.1.3-src.tar.gz, algorithm MD5|SHA-1: OK [mkdir] Created dir: [CENSORED]\libraries\commons-logging-1.1.3 [move] Moving 1 file to [CENSORED]\libraries\commons-logging-1.1.3 ]]] Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org