Many companies use a proxy server to control access to the internet. Because the Heirloom License process needs to contact our servers at intervals (dependent on the license type) you may need to provide proxy server information to the Runtime and Eclipse.
This information is relevant to product version 16.10.11 and above.
The following java variables can be used to provide proxy server information.
- -Dhttps.proxyUser=<proxy user id>
- -Dhttps.proxyPassword=<proxy password>
- -Dhttps.proxyHost=<proxy server/ip>
- -Dhttps.proxyPort=<proxy port>
Runtime command line
Add the java variables before the call to the jar or java class, for example:
java -Dhttps.proxyUser=ian -Dhttps.proxyPassword=ian -Dhttps.proxyHost=localhost -Dhttps.proxyPort=808 -jar HCILicensing.jar -p hcecblrts -l
Add the java variables into your eclipse.ini
You will need to exit and restart Eclipse after doing this.
Execution of code within Eclipse
Add the java variables to the Project's runtime properties:
- Right-click the project and choose Properties
- click Run/Debug settings
- Edit the Launch configuration
- Arguments/VM Arguments
Your license can also be checked using the licensing command line tool found here: http://www.elasticcobol.com/downloads/laas/HCILicensing.jar
You may pass proxy information the command line tool the same way you'd pass them to the runtime command line. For example:
java -Dhttps.proxyUser=ian -Dhttps.proxyPassword=ian -Dhttps.proxyHost=localhost -Dhttps.proxyPort=808 -jar HCILicensing.jar -p hcecblrts -r
See here for more information on the tool