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
Post a Comment