0

A "getting started" with JavaMelody question. I have an existing tomcat web service I'd like to profile with javamelody.

I followed the Step 1 in their instructions here, redeployed the war.
My tomcat server is set up with https. My context is, say, "foo-service".
So I then went to https://<host>/foo-service/monitoring, but was given the

"Error 401 Authentication Required".

What am I doing wrong?

Yahya Cahyadi
  • 524
  • 1
  • 4
  • 12

1 Answers1

0

Did you changed anything else e.g. your conf/tomcat-users.xml or is there an other chance you restricted to certain URLs in your tomcat? Maybe some filter in your web.xml is catching your calls to the url before that. Best would be to post your web.xml.

Also have a look into the security chapter: https://github.com/javamelody/javamelody/wiki/UserGuide#16-security

timguy
  • 2,063
  • 2
  • 21
  • 40