アーティクル - CS357876
ThingWorx Platform PostgreSQLインストーラーが、Apache Tomcatを初めて起動しようとしたときに「基盤となるデータベースから接続を取得できませんでした」というエラーで失敗する
修正日: 30-Dec-2025
適用対象
- ThingWorx Platform 8.5 to 9.6
- PostgreSQL
説明
- ThingWorx Platform PostgreSQLインストーラーはデータベース接続を検証しますが、インストール後に起動に失敗します。
- ThingWorx Platform インストーラは PostgreSQL データベース接続の問題により完了しませんが、インストール中に接続は検証されます。
- ThingWorx Platform データベース テーブルは正常に作成されましたが、インストーラーはデータベース接続エラーを理由に ThingWorx Platform の起動に失敗します。
- ThingWorx Platform Installer はデータベース接続の詳細ダイアログをバイパスしてデータベースに正常に接続しますが、インストール プロセスの最後で失敗します。
- 接続が有効でデータベーステーブルが作成されているにもかかわらず、ThingWorx Platform がデータベース接続エラーを報告して起動しない
- コマンドプロンプトまたはターミナルでpsql経由でデータベースに接続すると機能しますが、ThingWorx Platformはデータベース接続エラーでインストールを完了できません。
- PostgreSQL データベースは ThingWorx プラットフォームと同じホストにインストールされていますが、接続元によって異なる IP アドレス (ループバック、非ループバック) から接続が行われているようです。
- ThingWorx Platform Installer が
Waiting for ThingWorx Foundation..中にハングします。 - ThingWorx Platform のインストールが、ThingWorx がアクセス可能になるまで待機中にタイムアウトしました
- <Temp>\ThingWorxFoundation_Failed_installs\ThingWorxFoundation_install.logには次の内容が表示されます。
Wait 560s for /\[[^\]]+Thingworx.war\][^\n]*\[[^\]]+\]/ in "<ThingWorx Install>tomcat\current\logs\thingworx-foundation-stderr.2021-11-17.log" waiting 5s ... "" found in "<ThingWorx Install>tomcat\current\logs\thingworx-foundation-stderr.<Date>.log" Step twxIsRunning script failed :: 0
- <Temp>/ThingWorxFoundation_Failed_installs/foundation_platform/ApplicationLog.logには以下が表示されます。
[L: WARN] [O: c.m.v.r.BasicResourcePool] [I: ] [U: ] [S: ] [P: ] [T: C3P0PooledConnectionPoolManager[identityToken->zp0w2ealdavx1z1t5ntn2|402a0031]-HelperThread-#0] com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@7b569be1 -- 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: [L: WARN] [O: c.m.v.r.BasicResourcePool] [I: ] [U: ] [S: ] [P: ] [T: C3P0PooledConnectionPoolManager[identityToken->zp0w2ealdavx1z1t5ntn2|402a0031]-HelperThread-#0] Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@24fec6d9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests. [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! [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** Web Application STATE is being set to ERROR! *** [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] >>>>>>> PLATFORM SHUTDOWN START <<<<<<<<<
最新バージョンはこちらを参照ください CS357876