对 CEP 的 HTTP 请求

Http requests to CEP

我通过官方文档安装了CEP(Proton),https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide

之后,我观看了这个推荐视频,以了解更多有关 CEP 的信息。 https://edu.fiware.org/pluginfile.php/653/mod_resource/content/1/CEP-Tutorial.mp4

但我无法检查引擎实例状态,因为在响应中出现此错误:Could not read instance state, message: Error activating jmx proxy:

似乎JMX配置不正确。 如installation guide所述,在Apache Tomcat用户配置文件中需要添加manager-jmx角色,并将其添加到manager用户名中:

<tomcat-users>
  ...
  <role rolename="manager-jmx" />
  <user username="manager" password="manager" roles="manager-gui,manager-status,manager-script,manager-jmx" /> 
  ...
</tomcat-users>

您需要在 Apache Tomcat 上启用 JMX 访问,方法是将其添加到 CATALINA_OPTS,如 installation guide 中所述。

您还需要在 ProtonAdmin.properties 文件中指定 JMX 服务端口,如同 installation guide 中所述。