【问题标题】:Unable to view statics in the WSO2 API Manager Publisher?无法在 WSO2 API Manager Publisher 中查看静态数据?
【发布时间】:2015-02-06 09:54:52
【问题描述】:

我正在设置 WSO2 API 管理器和 WSO2 BAM。我遵循了下面文章中给出的每一个步骤。

http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html

当我尝试访问统计页面时,我在终端中看到以下错误。

[2015-02-06 14:15:29,405] ERROR - usage:jag java.lang.NullPointerException: null

下面是我得到的页面。

我也检查了以下问题。但不适合我。

Why am I unable to view stats in the WSO2 API Manager Store?

Configuring WSO2 API Manager to use the WSO2 BAM Server

我该如何解决这个问题?

【问题讨论】:

  • 你必须先启动 WSO2 BAM。它应该创建相关表。
  • 是的,这就是指南中提到的我正在做的事情。如果可能,请发布要执行的步骤。

标签: wso2 wso2carbon wso2-am wso2bam


【解决方案1】:

您看到此错误是因为没有要显示的数据。请调用 API 并尝试此页面。

请阅读 cmets 了解更多信息

【讨论】:

  • 显示此错误:[2015-02-09 14:28:06,896] WARN {me.prettyprint.cassandra.connection.CassandraHostRetryService} - 关闭的 localhost(127.0.0.1):9162 主机仍然出现关闭:无法打开到 localhost(127.0.0.1):9162 的传输,java.net.ConnectException:连接被拒绝
  • 修改$BAM_HOME/repository/conf/etc/hector-config.xml如下
  • 我应该使用什么端口号?
  • localhost:9161
  • &为什么端口在错误日志中显示为9162,而不是按照配置显示为9161
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-05-30
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多