【发布时间】:2013-04-17 12:54:57
【问题描述】:
我在报告 squash TM 中的错误时遇到了问题。这是与我安装了 squash 的服务器名称有关的问题。我在外部服务器上有它。在应用程序的一个地方,我得到了这样的错误 URL:
http://localhost:8040/squash/executions/49/info
它应该是:
http://**my_server**/squash/executions/49/info
在 squash 生成的 stderrout.log 文件中我发现错误:
org.tuckey.web.filters.urlrewrite.utils.ServerNameMatcher DEBUG: looking for hostname match on current server name localhost
如何将此服务器的名称更改为正确的名称,而不是“localhost”。我正在查看壁球的每个配置文件,但找不到。有什么想法吗?
编辑:我不得不承认,当我在 localhost 上安装 squash 时,一切都是正确的。
【问题讨论】:
标签: java squash server-name