Article - CS318645

"Table [PersistenceProviderPackageConfigs] does not exist" is seen in Tomcat logs when attempting to start ThingWorx Platform

Modified: 22-Dec-2023   


Applies To

  • ThingWorx Platform 8.1 to 9.5

Description

  • New install of ThingWorx doesn't generate license file
  • ThingWorx Platform is not deploying files in <ThingworxStorage> or <ThingworxPlatform> directories
  • ThingWorx fails to start after installation or upgrade
  • Modified platform-settings.json and Apache Tomcat fails to launch ThingWorx
  • Following errors are observed in Apache Tomcat logs <Tomcat Home>\logs
    • localhost
      • <Date Time> SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.thingworx.system.ThingworxLogbackListener]
            com.thingworx.exceptions.ConfigurationException: java.lang.Exception: Table [PersistenceProviderPackageConfigs] does not exist
                at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:2260)
                at com.thingworx.logging.LogUtilities.initializeLoggerContext(LogUtilities.java:451)
                at com.thingworx.system.ThingworxLogbackListener.contextInitialized(ThingworxLogbackListener.java:40)
                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4685)
                ...
            Caused by: java.lang.Exception: Table [PersistenceProviderPackageConfigs] does not exist
                at com.thingworx.types.collections.ConfigurationTableCollection.setValues(ConfigurationTableCollection.java:237)
                at com.thingworx.types.collections.ConfigurationTableCollection.setValues(ConfigurationTableCollection.java:202)
                at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:1455)
                at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:2251)
                ... 43 more
        <Date Time> SEVERE [main] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class [com.thingworx.system.ThingWorxBootstrapper]
            java.lang.ExceptionInInitializerError
                at com.thingworx.metrics.MetricsPersistenceProcessor.<init>(MetricsPersistenceProcessor.java:96)
                at com.thingworx.metrics.MetricsPersistenceProcessor.<clinit>(MetricsPersistenceProcessor.java:59)
                at com.thingworx.system.ThingWorxBootstrapper.contextDestroyed(ThingWorxBootstrapper.java:310)
                ...
            Caused by: java.lang.NullPointerException
                at com.thingworx.system.subsystems.platform.PlatformSubsystem.getDefaultPropertyPersistenceProvidePackage(PlatformSubsystem.java:1975)
                at com.thingworx.system.subsystems.platform.PlatformSubsystem.getDefaultPropertyProvider(PlatformSubsystem.java:1971)
                at com.thingworx.metrics.MetricsPersistenceProcessor.<init>(MetricsPersistenceProcessor.java:92)
                ... 44 more
    • catalina
      • <Date Time> SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
This is a printer-friendly version of Article 318645 and may be out of date. For the latest version click CS318645