tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <>
Subject Re: changing server.xml attribs on the fly
Date Fri, 16 May 2008 16:04:03 GMT
tomcat uses the common-digester code to parse server.xml,

you can see several classes called, and those are the rules for how server.xml turns into 
java objects


Ramesh Narayanan (ramesnar) wrote:
> Hi folks
>                Has anyone ventured into modifying the conf/server.xml
> file using the default internal XML parser of tomcat? I am currently in
> a midst of a project where I am securing all in bound and out bound
> communications and to that effect I have generated a SSL certificate
> using our CA and when I configure manually the new keystore, keypass,
> truststore, trust password, everything works like a charm. I need the
> capability to just go and change these attribs at run time and restart
> the tomcat server and want the new cert to load. I know I can write my
> own SAX or DOM parser to achieve this, but I thought since Tomcat
> internally parses this file anyways, if this parsing and persisting into
> java objects is already available?
> Can anyone volunteer to help me out please?
> Thanks
> Ramesh
> ------------------------------------------------------------------------
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.16/1429 - Release Date: 5/12/2008 6:14 PM

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message