Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi,
I got an error when trying to import an new extension package,
i tried to follow the document and add ExtensionPackageImportPolicy config into the platform-settings.json
However, the system could not start due to an error
2019-08-16 15:45:42.008-0500 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Database initialization started... 2019-08-16 15:46:12.179-0500 [L: WARN] [O: c.m.v.r.BasicResourcePool] [I: ] [U: ] [S: ] [T: C3P0PooledConnectionPoolManager[identityToken->1hgfaf5a417c0yjea1f13u|3aa17561]-HelperThread-#3] com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@384fd923 -- 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: 2019-08-16 15:46:12.181-0500 [L: WARN] [O: c.m.v.r.BasicResourcePool] [I: ] [U: ] [S: ] [T: C3P0PooledConnectionPoolManager[identityToken->1hgfaf5a417c0yjea1f13u|3aa17561]-HelperThread-#3] Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@c93be66 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests. 2019-08-16 15:46:12.202-0500 [L: ERROR] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Connections could not be acquired from the underlying database!] 2019-08-16 15:46:12.221-0500 [L: INFO] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Connection ThingworxPersistenceProvider, type MssqlPersistenceProviderPackage stopped 2019-08-16 15:46:12.221-0500 [L: WARN] [O: c.t.p.p.PersistenceProvider] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Could not find persistenceProviderPackage MssqlPersistenceProviderPackage and thus could not stop data processing 2019-08-16 15:46:12.235-0500 [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!] 2019-08-16 15:46:12.236-0500 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] *** Web Application STATE is being set to ERROR! ***
When i revert the platform-settings.json back, it works but i could not import a new extension package.
Remarks, the current version is 7.4.19-b262 and it was working in earlier versions.
Any help would be greatly appreciated.
My Bests,
Hung Tran
Solved! Go to Solution.
Although I am unable to see the entire settings, it seems you may have an unwanted comma.
Although I am unable to see the entire settings, it seems you may have an unwanted comma.