tomcat uses the common-digester code to parse server.xml,

you can see several classes called

XXXRuleSet.java, and those are the rules for how server.xml turns into java objects

Filip

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: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to