If you find yourself in need of that wonderful Unified Medical Language System and you have only a proxy server through which to obtain access, you simply need to add some options and associated parameters to your runctakesCVD.sh and/or runctakesCPE.sh files (whichever you are using – probably both).
This information originated from the ctakes-dev mailing list archive but needs a slight tweak to work properly in my experience (some single quote additions around the localhost|*.mycompany.com constructions). So, the string of options and parameters to add right after the bottom “java” line (line 45 in the apache-ctakes-3.2.2 scripts) is:
-Dhttp.proxyHost=proxyhost.mycompany.com -Dhttp.proxyPort=myhttpproxyport -Dhttps.proxyHost=proxyhost.mycompany.com -Dhttps.proxyPort=myhttpsproxyport -Dhttp.nonProxyHosts='localhost|*.mycompany.com' -Dhttps.nonProxyHosts='localhost|*.mycompany.com'
Where, of course, you replace
- “proxyhost.mycompany.com” with your actual proxy server
- “myhttpproxyport” and “myhttpsproxyport” with your actual proxy server’s actual ports
- “*.mycompany.com” with your actual domain name (keep the leading asterisk and dot)
It should work thereafter!