Setting default proxy / getting updates behind proxy server


#1

I’m running a Lucee 5.2.9 instance behind a proxy server, on a Windows machine.

In the Server Administrator, the Services-Update page runs into a timeout:

Invalid response from [http://release.lucee.org].
server http://release.lucee.org failed to return a valid response. Connection Failure

I’ve tried setting the proxy as a Java option in the Lucee-Tomcat Service Control (doing this would work in Adobe ColdFusion):

-DproxySet=true
-Dhttp.proxyHost=...
-Dhttp.proxyPort=8080

Those Java system properties are visible to Lucee, I’ve double-checked like this:

<cfset javaSystem = createObject("java", "java.lang.System")>
<cfoutput>
<b>http.proxyHost</b> #javaSystem.getProperty('http.proxyHost')#<br>
<b>http.proxyPort</b> #javaSystem.getProperty('http.proxyPort')#<br>
</cfoutput>

…they are just being ignored.

What can I do to make Lucee consider the proxy setting?