I
Irfan
Guest
The one you are looking for is a manager (tomcat) API, so you cannot have access for its REST API. To run it from JMX, you can run the following query {"O":"Catalina:type=Manager,host=localhost,context=/","A":"activeSessions"} This should be written to file(any name and extension) and then run the following command oejmx.bat|sh -R -Q -O It should dump the json output in the file you have mentioned. if you are running 11.7.2 then you have to change the oejmx script to pick the right JDK. You do not have to do anything with 11.7.3.
Continue reading...
Continue reading...