【问题标题】:Installing javamelody 401 "Authentication Required"安装 javamelody 401“需要身份验证”
【发布时间】:2015-12-03 00:55:56
【问题描述】:

JavaMelody 问题的“入门”。 我有一个现有的 tomcat Web 服务,我想用 javamelody 进行分析。

我跟着Step 1 in their instructions here,重新部署了战争。
我的tomcat服务器是用https设置的。我的上下文是,比如说,“foo-service”。
于是我又去了https://<host>/foo-service/monitoring,却得到了

“需要 401 错误验证”。

我做错了什么?

【问题讨论】:

    标签: tomcat java-melody


    【解决方案1】:

    您是否更改了其他任何内容,例如你的conf/tomcat-users.xml 或者你是否有其他机会限制在你的tomcat中的某些URL? 也许您的 web.xml 中的某些过滤器会在此之前捕获您对 url 的调用。最好是发布您的 web.xml。

    还可以查看安全章节:https://github.com/javamelody/javamelody/wiki/UserGuide#16-security

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-02-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-13
      • 2016-07-21
      相关资源
      最近更新 更多