【问题标题】:Running the URL to clear cache gives blank page in Pentaho运行 URL 以清除缓存会在 Pentaho 中提供空白页面
【发布时间】:2014-10-08 23:35:36
【问题描述】:

我正在使用 Pentaho CDE。我正在尝试使用以下 URL 清除缓存。当我在浏览器中运行它时,它不会给出错误,但会显示一个空白页面。这可能是什么原因?

 http://localhost:8080/pentaho/ServiceAction?solution=admin&path=&action=clear_mondrian_schema_cache.xaction

URL 中的“admin”指的是找到 clear_mondrian_schema_cache.xaction 文件的文件夹。 URL 中的“&action”指的是什么?

【问题讨论】:

    标签: caching pentaho mondrian pentaho-cde xaction


    【解决方案1】:

    好的,大家都知道我们可以手动刷新蒙德里安缓存。

    如何:在 Pentaho 用户控制台内部,工具 -> 刷新 -> Mondrian Schema Cache。片刻之后,如果一切正常我们会收到消息:“Mondrian Schema Cache Flushed Successfully”。

    好的,那里做了什么?如果请求返回代码 200(OK),则“Mondrian Schema Cache Flushed Successfully”是英语语言环境的预定义字符串。据此我们知道点击它正在调用一些HTTP请求方法。

    什么和在哪里?我在 Google Chrome 浏览器中使用 Live HTTP Headers 插件。它告诉我 PUC 正在调用:

    1. GET /pentaho/api/mantle/isAuthenticated(如果响应正常?)
    2. GET /pentaho/api/system/refresh/mondrianSchemaCache

    如果第二次请求返回码 200(OK),PUC 写入消息。

    您可以在浏览器中尝试:hostname:port/pentaho/api/system/refresh/mondrianSchemaCache 它将清除您的架构缓存并保持空白页面。如果你想要消息,你可以编写脚本来收集来自 HTTP 请求的响应。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多