Article - CS235937

ThingWorx fails to start with "Connections could not be acquired from the underlying database" error logged in the Application Log

Modified: 30-Mar-2026   


Applies To

  • ThingWorx Platform 8.0 to 10.1
  • Windchill Navigate (formerly ThingWorx Navigate) 8.5.0 to 8.5.8
  • PostgreSQL

Description

  • Following upgrade, ThingWorx fails to start
  • ThingWorx not starting with 502 Bad Gateway error displayed on browser
  • ThingWorx fails to start after installation with empty page in browser
  • Errors logged in \ThingworxStorage\logs\ApplicationLog.log:
[L: INFO] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Connection ThingworxPersistenceProvider, type PostgresPersistenceProviderPackage stopped
[L: WARN] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Could not find persistenceProviderPackage PostgresPersistenceProviderPackage and thus could not stop data processing
[L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Unable to initialize and start system: Connections could not be acquired from the underlying database!]
[L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] *** Web Application STATE is being set to ERROR! ***
  • licenseRequestFile.txt not created in \ThingworxPlatform folder
  • Error logged in <tomcat_home>\logs\catalina.log:
java.io.IOException: error trying to initialize Platform storage [setting: /ThingworxStorage/database]
This is a printer-friendly version of Article 235937 and may be out of date. For the latest version click CS235937