Article - CS331246

ThingWorx 9.x active-active High Availability (HA) clustering setup does not start if IGNITE_WORK_DIR is not set on ThingWorx servers

Modified: 10-Oct-2024   


Applies To

  • ThingWorx Platform 9.0 to 9.5

Description

  • ThingWorx 9.x active-active HA clustering setup does not start if IGNITE_WORK_DIR is not set on ThingWorx servers
  • ThingWorx fail to start with below error in Application log:
    • [L: ERROR] [O: c.t.s.ServiceDiscovery] [I: ] [U: SuperUser] [S: ] [P: platform1] [T: main] No configuration found for service discovery HTTP_PORT or HTTPS_PORT environment variables .
      [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [P: platform1] [T: main] *** CRITICAL ERROR ON STARTUP: No port defined for service discovery, unable to register application
  • Tomcat service shuts down after start with following errors in ApplicationLog.log  :
    • [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: thingworx1] [T: main] *** CRITICAL ERROR ON STARTUP: Failed to start CacheProvider com.thingworx.cache.ignite.IgniteCacheProvider 
      [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: thingworx1] [T: main] *** Web Application STATE is being set to ERROR! ***
  • Configuring ThingWorx Foundation for Clustering is missing step to set environment variable for /ignite/work directory
This is a printer-friendly version of Article 331246 and may be out of date. For the latest version click CS331246