Article - CS329310

ThingWorx installation fails on Azure PostgreSQL

Modified: 05-Jul-2023   


Applies To

  • ThingWorx Platform 8.5 to 9.4
  • Azure PostgreSQL

Description

  • Failed to install ThingWorx with Azure PostgreSQL database
  • Tomcat starts and stops with following errors logged in /ThingworxStorage/logs/ApplicationLog.log:
YYYY-MM-DD hh:mm:ss.[L: INFO] [O: c.t.p.p.PostgresDatasource] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Reading configuration from configTableCol
YYYY-MM-DD hh:mm:ss [L: WARN] [O: c.m.v.r.BasicResourcePool] [I: ] [U: ] [S: ] [P: ] [T: C3P0PooledConnectionPoolManager[identityToken-><token>]-HelperThread-#7] com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@1112fdb1 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (3). Last acquisition attempt exception:
YYYY-MM-DD hh:mm:ss [L: WARN] [O: c.m.v.r.BasicResourcePool] [I: ] [U: ] [S: ] [P: ] [T: C3P0PooledConnectionPoolManager[identityToken-><token>]-HelperThread-#7] Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@173e0562 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
YYYY-MM-DD hh:mm:ss [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** CRITICAL ERROR ON STARTUP: Connections could not be acquired from the underlying database!
YYYY-MM-DD hh:mm:ss [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** Web Application STATE is being set to ERROR! ***
YYYY-MM-DD hh:mm:ss [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] >>>>>>> PLATFORM SHUTDOWN START <<<<<<<<<
This is a printer-friendly version of Article 329310 and may be out of date. For the latest version click CS329310