Article - CS305798

"Configuration setting ContentTypeSettings.supportedMediaEntityContentTypes cannot be null" is seen when starting ThingWorx Platform

Modified: 03-Mar-2023   


Applies To

  • ThingWorx Platform 8.4 SP2 to 9.3

Description

  • Application not coming up after installation of ThingWorx 8.4
  • Cannot complete installation of ThingWorx as the Platform will not start
  • Seeing database errors on startup but the database is up and running
  • ThingWorx application didn’t start, Tomcat service shut down
  • platform-settings.json is configured and well formed but the ThingWorx Platform will not start
  • ApplicationLog.log file in ThingworxStroage shows:
    • [DATE_TIME] [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Unable to initialize and start system: Connections could not be acquired from the underlying database!]
      [DATE_TIME] [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] *** Web Application STATE is being set to ERROR! ***
  • tomcat8-stdout log shows
    • [DATE_TIME] [localhost-startStop-1] ERROR com.thingworx.system.configuration.PlatformSettings - Configuration setting ContentTypeSettings.supportedMediaEntityContentTypes cannot be null
This is a printer-friendly version of Article 305798 and may be out of date. For the latest version click CS305798