技术文章 - CS362094

无法启动 ThingWorx HA 集群并出现错误“期望一个值但得到错误的令牌:文件结尾”

已修改: 01-Feb-2022   


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

适用于

  • ThingWorx Platform 9.3

说明

  • 尝试启动 ThingWorx 高可用性 (HA) 群集时收到以下错误
|-ERROR in ch.qos.logback.core.joran.spi.Interpreter@3:88 - RuntimeException in Action for tag [contextListener] com.thingworx.exceptions.ConfigurationException: com.typesafe.config.ConfigException$Parse: String: 1: Expecting a value but got wrong token: end of file
        at com.thingworx.exceptions.ConfigurationException: com.typesafe.config.ConfigException$Parse: String: 1: Expecting a value but got wrong token: end of file
        at      at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:3390)
        at      at com.thingworx.logging.LogbackUtilities.loadLogbackConfiguration(LogbackUtilities.java:54)
        at      at com.thingworx.logging.LogUtilities.initializeLoggerContext(LogUtilities.java:440)
        at      at com.thingworx.logging.LogbackCustomLoggerContextListener.start(LogbackCustomLoggerContextListener.java:23)
        at      at ch.qos.logback.classic.joran.action.LoggerContextListenerAction.end(LoggerContextListenerAction.java:70)
      ...
Caused by: com.typesafe.config.ConfigException$Parse: String: 1: Expecting a value but got wrong token: end of file
        at      at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:201)
        at      at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:197)
        at      at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:251)
        at      at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:475)
        at      at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parse(ConfigDocumentParser.java:648)
        at      at com.typesafe.config.impl.ConfigDocumentParser.parse(ConfigDocumentParser.java:14)
        at      at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:262)
        at      at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:250)
        at      at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:180)
        at      at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:174)
        at      at com.typesafe.config.impl.Parseable.parse(Parseable.java:301)
        at      at com.typesafe.config.ConfigFactory.parseString(ConfigFactory.java:1102)
        at      at com.typesafe.config.ConfigFactory.parseString(ConfigFactory.java:1112)
        at      at com.thingworx.system.configuration.PlatformSettings.configureIgniteCacheSSL(PlatformSettings.java:2933)
        at      at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:2514)
        at      at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:3381)
        at      ... 62 common frames omitted

这是文章 362094 的 PDF 版本,可能已过期。最新版本 CS362094