Skip to main content
1-Visitor
September 30, 2019
Question

Licence file not created while installing thingworx 8.3

  • September 30, 2019
  • 2 replies
  • 3293 views

Hello,

I have placed the war file in tomcat installation location and started tomcat but licence file is not created. Please find the attached logs.

 

2 replies

raluca_edu
17-Peridot
September 30, 2019

Hi,

 

You have some errors with connectivity to Postgres database. Please check the article: https://www.ptc.com/en/support/article?n=CS235937

 

After platform is starting, you will see new file called LicenseRequestFile.txt that will contain the device ID needed for licensing, not the license itself. Please see this article for licensing part: https://www.ptc.com/en/support/article?n=CS271439

 

Thank you,

Raluca Edu

isha1-VisitorAuthor
1-Visitor
October 4, 2019

After platform is starting, i cannot see new file called LicenseRequestFile.txt that will contain the device ID needed for licensing.Following error i am getting

2019-10-04 18:42:30.812+0530 [L: ERROR] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: main] [message: Connections could not be acquired from the underlying database!]
2019-10-04 18:42:30.977+0530 [L: INFO] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [T: main] Connection ThingworxPersistenceProvider, type PostgresPersistenceProviderPackage stopped
2019-10-04 18:42:30.978+0530 [L: WARN] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [T: main] Could not find persistenceProviderPackage PostgresPersistenceProviderPackage and thus could not stop data processing
2019-10-04 18:42:30.980+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: main] [message: Unable to initialize and start system: Connections could not be acquired from the underlying database!]
2019-10-04 18:42:30.981+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: main] *** Web Application STATE is being set to ERROR! ***

Support
October 4, 2019

Hi @isha.

 

From the log snippet you provided, you still haven't corrected the connectivity issue with the database.  When you connect to the database using pgAdmin, how many tables do you see?  It could be that the database was not created successfully.  Did you get any errors when running the scripts to create the db?

 

Regards.

 

--Sharon

 

Support
October 16, 2019

Hi @isha.

 

Have you resolved your issue?  If so, please either mark an existing reply as the Accepted Solution, or post an update with the details of the solution and mark that one.   This will help others on the community with similar issues.

 

Regards.

 

--Sharon