技术文章 - CS318645

尝试启动 ThingWorx Platform 时,Tomcat 日志中显示“表 [PersistenceProviderPackageConfigs] 不存在”

已修改: 22-Dec-2023   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 8.1 to 9.5

说明

  • 新安装 ThingWorx 不会生成许可证文件
  • ThingWorx Platform 未在<ThingworxStorage><ThingworxPlatform>目录中部署文件
  • ThingWorx 在安装或升级后无法启动
  • 修改platform-settings.jsonApache 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 更多
    • 卡塔利娜
      • <日期时间> 严重 [main] org.apache.catalina.core.StandardContext.startInternal 一个或多个侦听器启动失败。完整的详细信息可以在相应的容器日志文件中找到
这是文章 318645 的 PDF 版本,可能已过期。最新版本 CS318645