技术文章 - CS373384

如果未安装在 C: 上,Property Transform 事物未连接到 ThingWorx 中

已修改: 16-Mar-2023   


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

适用于

  • ThingWorx Analytics 9.3.0

说明

  • 属性转换事物未连接
  • Flink 服务在控制面板 > 服务中显示为已启动,但不存在 java 进程
  • 事件查看器中的多个事件显示服务twpas-property-transform-service正在重新启动
  • <PlatformAnalytics>/logs/configuration.log
INFO  c.t.a.d.c.s.FlinkConfigurationService - connecting to the flink cluster at: localhost:8086
ERROR c.t.a.d.c.s.FlinkConfigurationService - Unable to connect to Flink at the following location: localhost:8086
WARN  o.s.c.s.ClassPathXmlApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterClient' defined in class path resource [spring/service-config.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.thingworx.analytics.derived.configuration.service.rest.FlinkRestJobSubmitClient]: Factory method 'initFlink' threw exception; nested exception is java.lang.RuntimeException: Unable to connect to Flink.
  • 手动执行<PlatformAnalytics>/bin/flink_service.bat结果
Starting cluster.
[ERROR] The execution result is empty.
[ERROR] Could not get JVM parameters and dynamic configurations properly.
[ERROR] Raw output from BashJavaUtils:
Error: Could not find or load main class org.apache.flink.runtime.util.bash.BashJavaUtils
Caused by: java.lang.ClassNotFoundException: org.apache.flink.runtime.util.bash.BashJavaUtils

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