Follow

Licensing with a proxy server

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

 

Eclipse Editor

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:

  1. Right-click the project and choose Properties
  2. click Run/Debug settings 
  3. Edit the Launch configuration
  4. 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

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk