ThingWorx Platform docker container fails to read commercial license file
Applies To
- ThingWorx Platform 8.5 to 9.5
- Docker
Description
- Docker container fails to read commercial license at restart
- ThingWorx Platform Container fails to acquire license automatically when using LS_USERNAME and LS_PASSWORD parameters
- Steps to reproduce :
- Start container with commercial license license_capability_response.bin in ThingworxPlatform folder (docker-compose -f docker-compose-type.yml up -d)
- License is renamed successful_license license_capability_response.bin
- Stop container (docker-compose -f docker-compose-type.yml down)
- Restart container and notice that any basic action (i.e. Create a new Thing) throws message License has not been installed
- Start container with commercial license license_capability_response.bin in ThingworxPlatform folder (docker-compose -f docker-compose-type.yml up -d)
-
Connected licensing not working
- Docker container fails to start with below error message:
Unable to connect to the PTC license server. Please make sure the LicensingConnectionSettings settings in the platform-settings.json in the ThingworxPlatform directory are correct. If your server is not connected to the internet please use the request file licenseRequestFile.txt created in the ThingworxPlatform directory to do a manual install of the license