WSO2 ESB 分析 - 访问仪表板后出现错误
WSO2 ESB Analytics - Errors after access dashboard
我正在尝试将 WSO2 ESB 5.0.0 与 WSO2 ESB 分析一起使用,在此 tutorial 之后。在 synapse.properties (ESB_HOME/repository/conf/synapse.properties),我已将属性 mediation.flow.statistics.enable
、ediation.flow.statistics.tracer.collect.payloads
和 mediation.flow.statistics.tracer.collect.properties
设置为 true。
我将 WSO2 ESB 偏移量更改为 5,并将 1 更改为 Analytics。
在 MessageFlowConfigurationPublisher.xml
和 MessageFlowStatisticsPublisher.xml
我没有做任何改变。
在启动两者之后,我启用了我的代理服务的统计和跟踪(我从 WSO2 Developer Studio 创建它)。
然后,我访问 WSO2 ESB 分析仪表板并收到以下错误:
(First Solved)
INFO {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
javax.net.ssl.SSLException: hostname in certificate didn't match: <192.168.56.1> != <localhost>
在这个错误之后,许多其他人喜欢这样(可能是因为它没有创建分析 databese/tables - 我没有找到生成这些表的脚本 - 它不是 mysql.sql):
ERROR {org.wso2.carbon.analytics.dataservice.core.indexing.AnalyticsDataIndexer} - Error while looking up table Schema: [-1234:ORG_WSO2_ESB_ANALYTICS_STREAM_STATPERDAY] does not exist
在 WSO2 ESB 日志中:
StatisticsAdminClient Cannot get service stats for service MVProxyService. Backend server may be unavailable.
org.apache.axis2.AxisFault: The input stream for an incoming message is null.
我尝试将 Analytics 主机名更改为 localhost 并执行 dbscripts。
在仪表板上仅显示来自我的代理服务的消息存储(生成的默认仪表板中的 Top5),但有关我对其请求的任何信息。
编辑
当我访问仪表板时,它正在为我显示:
确保您的 ESB 中的这 2 个 XML 文件对您的分析服务器的 receiverURL、用户名和密码设置正确:
[ESB_HOME]/repository/deployment/server/eventpublishers/MessageFlowConfigurationPublisher.xml
[ESB_HOME]/repository/deployment/server/eventpublishers/MessageFlowStatisticsPublisher.xml
您可以通过在 <ANALYTICS_HOME>/repository/logs/carbon.log
中搜索 "THRIFT SSL port"
来验证正确的接收器端口号。如果偏移量为 1
,则端口将为 7612
。确保该端口上没有其他 运行。
在 Windows 环境中配置分析仪表板时,先决条件是将 "snappy-java_1.1.1.7.jar"
添加到 <Analytics_Home>\repository\components\lib
目录。
我正在尝试将 WSO2 ESB 5.0.0 与 WSO2 ESB 分析一起使用,在此 tutorial 之后。在 synapse.properties (ESB_HOME/repository/conf/synapse.properties),我已将属性 mediation.flow.statistics.enable
、ediation.flow.statistics.tracer.collect.payloads
和 mediation.flow.statistics.tracer.collect.properties
设置为 true。
我将 WSO2 ESB 偏移量更改为 5,并将 1 更改为 Analytics。
在 MessageFlowConfigurationPublisher.xml
和 MessageFlowStatisticsPublisher.xml
我没有做任何改变。
在启动两者之后,我启用了我的代理服务的统计和跟踪(我从 WSO2 Developer Studio 创建它)。
然后,我访问 WSO2 ESB 分析仪表板并收到以下错误:
(First Solved)
INFO {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
javax.net.ssl.SSLException: hostname in certificate didn't match: <192.168.56.1> != <localhost>
在这个错误之后,许多其他人喜欢这样(可能是因为它没有创建分析 databese/tables - 我没有找到生成这些表的脚本 - 它不是 mysql.sql):
ERROR {org.wso2.carbon.analytics.dataservice.core.indexing.AnalyticsDataIndexer} - Error while looking up table Schema: [-1234:ORG_WSO2_ESB_ANALYTICS_STREAM_STATPERDAY] does not exist
在 WSO2 ESB 日志中:
StatisticsAdminClient Cannot get service stats for service MVProxyService. Backend server may be unavailable.
org.apache.axis2.AxisFault: The input stream for an incoming message is null.
我尝试将 Analytics 主机名更改为 localhost 并执行 dbscripts。
在仪表板上仅显示来自我的代理服务的消息存储(生成的默认仪表板中的 Top5),但有关我对其请求的任何信息。
编辑
当我访问仪表板时,它正在为我显示:
确保您的 ESB 中的这 2 个 XML 文件对您的分析服务器的 receiverURL、用户名和密码设置正确:
[ESB_HOME]/repository/deployment/server/eventpublishers/MessageFlowConfigurationPublisher.xml
[ESB_HOME]/repository/deployment/server/eventpublishers/MessageFlowStatisticsPublisher.xml
您可以通过在 <ANALYTICS_HOME>/repository/logs/carbon.log
中搜索 "THRIFT SSL port"
来验证正确的接收器端口号。如果偏移量为 1
,则端口将为 7612
。确保该端口上没有其他 运行。
在 Windows 环境中配置分析仪表板时,先决条件是将 "snappy-java_1.1.1.7.jar"
添加到 <Analytics_Home>\repository\components\lib
目录。