AutoPass License Server Lock Code changes after every service restart

Category:
Question ID: 109754
1
1

Every time we have to restart the AutoPass service, our Lock Code changes.  I’m concerned this will affect current and future licenses.  Any clues as to why this happens and how to fix it?

Marked as spam
Posted by (Questions: 359, Answers: 26)
Asked on July 31, 2020 12:15 pm
8 views
Answers (1)
1
Private answer

This can happen when a particular mapping class entry is  missing.

Try this:

a.  Stop the AutoPass License Server service.

(In Windows, run the services.msc, find “AutoPass License Server” service and stop the service)

(In Linux, run the command - service hpLicenseServer stop)

b.  Edit the dbconfig.xml file in the APLS data folder and add the following entry if it's missing:

<mapping class="com.hp.autopassj.ls.database.model.ApplicationInfo">

Default location for dbconfig.xml:

Windows:  %ProgramData%autopassaplslicenseserverdataconf

Linux:  /var/opt/autopass/apls/licenseserver/data/conf/

c.  Start the AutoPass License Server service:

(In Windows, run the services.msc, find “AutoPass License Server” service and start the service)

(In Linux, run the command - service hpLicenseServer start)

Marked as spam
Posted by (Questions: 0, Answers: 707)
Answered on July 31, 2020 12:19 pm
Excellent! Those steps worked, and our Lock Code now remains the same even after a service restart. Thank you!!
( at July 31, 2020 12:21 pm)