Skip to main content
Sep 5, 2016 7:33 AM UTC
Question

Installation problem ThingWorx 7.2!! (Connections could not be acquired from the underlying database!)

Hello Everyone,

i've a problem with thingworx 7.2.

I'm trying to install it but there are connection problem with the Database.

Log says:

[L: ERROR] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-3] [message: Connections could not be acquired from the underlying database!]

2016-09-02 17:45:29.426+0200 [L: INFO] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-3] Connection ThingworxPersistenceProvider, type PostgresPersistenceProviderPackage stopped

2016-09-02 17:45:29.426+0200 [L: WARN] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-3] Could not find persistenceProviderPackage PostgresPersistenceProviderPackage and thus could not stop data processing

2016-09-02 17:45:29.426+0200 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-3] [message: Unable to initialize and start system: Connections could not be acquired from the underlying database!]

2016-09-02 17:45:29.426+0200 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-3] *** Web Application STATE is being set to ERROR! ***

When i open thingworx in the server, the error 401 appear:

HTTP Status 401 - Could not handle request

Can anyone help me??

5 replies

Sep 6, 2016 1:45 PM UTC

Maurizio, can you verify if the username, password and ports are correct on the 'platform-settings.json' file?

mvolantiAuthor
Sep 6, 2016 2:52 PM UTC

Thank's Anjan but in platform-settings.json file credentials are ok.

Sep 6, 2016 3:19 PM UTC

The Postgres server/ service is running as well, correct? Nothing is using port 5432, right?