Build failed from sources

#1

Hello everyone,
I tried to build lucee from source following this guide and it fails.
I’m using Win10, with JDK 1.8.0_201, maven 3.6.0 and ant 1.10.5.

It seems to fail the tests. In the attachment you’ll find the complete log.log.txt (1.5 MB)

0 Likes

#2

on which branch are you building? did you try the 5.3 branch?

from the log it looks like you build process can’t reach the internet?

0 Likes

#3

I was building from the master as told here.
Internet connection was fine, if I do ant fast, the build completes.
I’m operating behind the company proxy and I configured Ant adding the following env variable:

  • Name: ANT_OPTS
  • Value: -Dhttp.proxyHost=proxy -Dhttp.proxyPort=port
0 Likes

#4

I have updated the docs to refer to the 5.3 branch, sorry it caused you trouble

0 Likes

#5

Thanks for your support @Zac_Spitzer.
I tried again the build on the branch 5.3 as you pointed out in the updated docs.
Unfortunately the build fails again. Here’s the complete log log5.3.txt (1.7 MB)

I’m using the same enviroment as here:

I see some “Connection timed out” errors but I can confirm that internet connection is not the problem. Am I missing something on the proxy configuration for ant?

0 Likes

#6

If you look at the stack trace, the connection error is coming from Lucee, rather than ant

see the [java] [script] at lucee.commons.net.http.HTTPEngine.get(HTTPEngine.java:87)

any ideas @micstriit ?

[java]    [script] "INFO","main","04/11/2019","12:38:26","main","check for extension at : http://extension.lucee.org/rest/extension/provider/full/465E1E35-2425-4F4E-8B3FAB638BD7280A"
    [java]    [script] "ERROR","main","04/11/2019","12:38:48","","extension;Connect to extension.lucee.org:80 [extension.lucee.org/205.210.189.210] failed: Connection timed out: connect;org.apache.http.conn.HttpHostConnectException: Connect to extension.lucee.org:80 [extension.lucee.org/205.210.189.210] failed: Connection timed out: connect
    [java]    [script] 	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)
    [java]    [script] 	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
    [java]    [script] 	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394)
    [java]    [script] 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
    [java]    [script] 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
    [java]    [script] 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
    [java]    [script] 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
    [java]    [script] 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
    [java]    [script] 	at lucee.commons.net.http.httpclient.HTTPEngine4Impl._invoke(HTTPEngine4Impl.java:266)
    [java]    [script] 	at lucee.commons.net.http.httpclient.HTTPEngine4Impl.get(HTTPEngine4Impl.java:113)
    [java]    [script] 	at lucee.commons.net.http.HTTPEngine.get(HTTPEngine.java:87)
    [java]    [script] 	at lucee.runtime.config.DeployHandler.downloadExtension(DeployHandler.java:299)
    [java]    [script] 	at lucee.runtime.config.DeployHandler.deployExtension(DeployHandler.java:268)
    [java]    [script] 	at lucee.runtime.config.DeployHandler.deployExtensions(DeployHandler.java:140)
    [java]    [script] 	at lucee.runtime.engine.CFMLEngineImpl.<init>(CFMLEngineImpl.java:350)
    [java]    [script] 	at lucee.runtime.engine.CFMLEngineImpl.getInstance(CFMLEngineImpl.java:603)
    [java]    [script] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]    [script] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [java]    [script] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [java]    [script] 	at java.lang.reflect.Method.invoke(Method.java:498)
    [java]    [script] 	at lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:1414)
    [java]    [script] 	at lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:361)
    [java]    [script] 	at lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:261)
    [java]    [script] 	at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:167)
    [java]    [script] 	at lucee.runtime.script.BaseScriptEngineFactory.<init>(BaseScriptEngineFactory.java:59)
0 Likes