huntfarms
Flexera beginner

flexnetlsadmin commands run long after results are returned

Using Flexnet LLS 2021-4 on Windows Server 2019 that meets system requirements.

When I run flexnetlsadmin.bat with the server parameter, the batch file does not complete until 27 seconds after the results have been returned. When relying on the FLEXNETLS_BASEURL environment variable the batch file ends immediately after returning the results.

With server (30 seconds total execution time, 3 seconds to results):

java -Djavax.net.ssl.trustStore="c:\keystore.p12" -Djavax.net.ssl.trustStorePassword=changeit -jar flexnetlsadmin.jar -server https://ec2amaz-nt850v1:1443/api/1.0/instances/~ -authorize admin password -users

 

Without server (3 seconds total execution time, 3 seconds to results):

java -Djavax.net.ssl.trustStore="c:\keystore.p12" -Djavax.net.ssl.trustStorePassword=changeit -jar flexnetlsadmin.jar  -authorize admin password -users

I want to use the -server variable because I can't trust that the user has not removed the system environment variable FLEXNET_BASEURL post-install.

Why the big delta in execution time?

0 Kudos