技术文章 - 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中观察到以下错误
- 本地主机
- <日期时间> 严重 [主要] 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 更多
<日期时间> 严重 [主要] 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 更多
- <日期时间> 严重 [主要] org.apache.catalina.core.StandardContext.listenerStart 异常将上下文初始化事件发送到类 [com.thingworx.system.ThingworxLogbackListener] 的侦听器实例
- 卡塔利娜
- <日期时间> 严重 [main] org.apache.catalina.core.StandardContext.startInternal 一个或多个侦听器启动失败。完整的详细信息可以在相应的容器日志文件中找到
- 本地主机
这是文章 318645 的 PDF 版本,可能已过期。最新版本 CS318645