java - How can a Tomcat webapp access its "maxthreads" parameter? -


our application accepts incoming requests (rest) , satisfies them using of our services. when application boots, requests number of connections other service - our goal maintain 1:1, thread-to-connection, ratio (i won't why, way).

naturally, want define number of threads/connections in 1 place, thought webapp discover "maxthreads" value configured in server.xml -- without having navigate , parse server.xml file. possible?

thanks

i'll answer own question - jmx / mbeans.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -