upgrading thingworx from 7.2 to 8.1 on windows platform(64 bit) : license is not getting installed
- October 3, 2018
- 3 replies
- 1961 views
Hi ,
i am new to the Thingworx and i am trying upgrading my Thingworx from 7.2 to 8.1 version in win7 VM machine . i have downloaded a licence file for same, renamed it as license_capability_response.bin and placed it inside ThingworxPlatform folder ( which i have created in c drive as per the instruction given in upgradation manual ) then trying installing it but the license is not getting installed not even the file name is getting changed to successful_license_capability_response.bin/ignored_license.bin rather giving me below error .
2018-10-03 00:03:54.814-0700 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Thingworx Server Application...ON
2018-10-03 00:03:54.828-0700 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Datastore database...INITIALIZED
2018-10-03 00:06:14.417-0700 [L: WARN] [O: c.t.s.s.l.LicensingStateMachine] [I: ] [U: Richa] [S: ] [T: http-nio-80-exec-4] Failed downloading license_capability_response.bin from FNO server. This will be expected if the ThingWorx Platform is running in disconnected mode.
2018-10-03 00:06:14.417-0700 [L: WARN] [O: c.t.s.s.l.LicensingStateMachine] [I: ] [U: Richa] [S: ] [T: http-nio-80-exec-4] No license changes, because neither license.bin or license_capability_response.bin could be found
2018-10-03 00:06:14.417-0700 [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: Richa] [S: ] [T: http-nio-80-exec-4] [context: com.thingworx.webservices.context.HttpExecutionContext@1e37520a][message: Unable to acquire license. Please see log for errors]
2018-10-03 00:06:26.840-0700 [L: WARN] [O: c.t.s.s.l.LicensingStateMachine] [I: ] [U: Richa] [S: ] [T: http-nio-80-exec-5] Failed downloading license_capability_response.bin from FNO server. This will be expected if the ThingWorx Platform is running in disconnected mode.
-As per my findings Usually when we start the server, the application search for the license file. If it does not find the license file then it generates a new device id. If the license file is there, it will not generate the new device id.GetInstanceId service returning same id all the time
-GetLicenseState service returning UNINTIALIZED
below are the contents in my Platform_setting.json file
{
"PlatformSettingsConfig": {
"AdministratorUserSettings": {
"InitialPassword": "trUf6yuz2?_Gub"
}
},
"PersistenceProviderPackageConfigs": {
"PostgresPersistenceProviderPackage": {
"ConnectionInformation": {
"jdbcUrl": "jdbc:postgresql://localhost:5432/thingworx",
"password": "twadmin",
"username": "twadmin"
}
}
}
}
Also the device id i didn't get in my ThingworxPlatform folder and i get it by invoking the service getinstanceId for downloading the license
it seems some problem with the ThingworxPlatform folder , i checked for all the folder permissions also and it is having all the permissions , still the issue persist
please help me in this!
Thanks
Pranav Kapadia

