Hi, This question belongs on the Tomcat user list (users@tomcat.apache.org). Please post it there, don't reply here.
The short answer is that yes, you can access server configuration programatically. You can access much of it via JMX (see http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html and articles like http://www.devx.com/Java/Article/21726 for help if needed). Please direct followup, if any, to [EMAIL PROTECTED] Thanks, Yoav On 6/21/06, Smith Ran <[EMAIL PROTECTED]> wrote:
Currently I have a Tomcat 5.0 server running on a 1.4 JRE. I was wondering if there any API to access server configuration (in server.xml etc.) from a servlet/application? Is there a way to determine where the server is installed on the system etc.? I would like to basically determine the server's SSL public certificates to provide to clients who want to connect securely. Any help would be greatly appreciated. Thanks.
-- Yoav Shapira Nimalex LLC 1 Mifflin Place, Suite 310 Cambridge, MA, USA [EMAIL PROTECTED] / www.yoavshapira.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]