How can I read tomcat server information?

How can I read tomcat server information?

I have realm information configured in my server.xml. I want to get the connectionURL mentioned in this realm tag in server.xml and use it into my java code.
rajneetbhatiaAsked:
Who is Participating?
 
humerguConnect With a Mentor Commented:
with JMX you can query management information of the server
0
All Courses

From novice to tech pro — start learning today.