アーティクル - CS318645
ThingWorx Platform を起動しようとすると、Tomcat ログに「テーブル [PersistenceProviderPackageConfigs] が存在しません」というメッセージが表示される
修正日: 22-Dec-2023
適用対象
- ThingWorx Platform 8.1 to 9.5
説明
- ThingWorx の新規インストールでライセンス ファイルが生成されない
- ThingWorx Platform が<ThingworxStorage>または<ThingworxPlatform>ディレクトリにファイルをデプロイしていません
- ThingWorx のインストールまたはアップグレード後に起動に失敗する
- platform-settings.jsonが変更され、 Apache Tomcat がThingWorx の起動に失敗する
- Apache Tomcatログ<Tomcat Home>\logsで次のエラーが観察されます。
- ローカルホスト
- <日時> SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart クラス [com.thingworx.system.ThingworxLogbackListener] のリスナー インスタンスにコンテキスト初期化イベントを送信する例外
com.thingworx.Exceptions.ConfigurationException: java.lang.Exception: テーブル [PersistenceProviderPackageConfigs] が存在しません
com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:2260) で
com.thingworx.logging.LogUtilities.initializeLoggerContext(LogUtilities.java:451) で
com.thingworx.system.ThingworxLogbackListener.contextInitialized(ThingworxLogbackListener.java:40) で
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4685) で
...
原因: java.lang.Exception: テーブル [PersistenceProviderPackageConfigs] が存在しません
com.thingworx.types.collections.ConfigurationTableCollection.setValues(ConfigurationTableCollection.java:237) で
com.thingworx.types.collections.ConfigurationTableCollection.setValues(ConfigurationTableCollection.java:202) で
com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:1455) で
com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:2251) で
...さらに43件
<日時> SEVERE [main] org.apache.catalina.core.StandardContext.listenerStop クラス [com.thingworx.system.ThingWorxBootstrapper] のリスナー インスタンスにコンテキスト破棄イベントを送信する例外
java.lang.ExceptionInInitializerError
com.thingworx.metrics.MetricsPersistenceProcessor.<init>(MetricsPersistenceProcessor.java:96) で
com.thingworx.metrics.MetricsPersistenceProcessor.<clinit>(MetricsPersistenceProcessor.java:59) で
com.thingworx.system.ThingWorxBootstrapper.contextDestroyed(ThingWorxBootstrapper.java:310) で
...
原因: java.lang.NullPointerException
com.thingworx.system.subsystems.platform.PlatformSubsystem.getDefaultPropertyPersistenceProvidePackage(PlatformSubsystem.java:1975) で
com.thingworx.system.subsystems.platform.PlatformSubsystem.getDefaultPropertyProvider(PlatformSubsystem.java:1971) で
com.thingworx.metrics.MetricsPersistenceProcessor.<init>(MetricsPersistenceProcessor.java:92) で
...さらに44件
- <日時> SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart クラス [com.thingworx.system.ThingworxLogbackListener] のリスナー インスタンスにコンテキスト初期化イベントを送信する例外
- カタリナ
- <日時> SEVERE [main] org.apache.catalina.core.StandardContext.startInternal 1 つ以上のリスナーの起動に失敗しました。詳細については、適切なコンテナ ログ ファイルに記載されています。
- ローカルホスト
最新バージョンはこちらを参照ください CS318645