tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anna Nhan" <anna.n...@gmail.com>
Subject Re: Re: other ways to change the Connector element in server.xml?
Date Thu, 03 Jan 2008 16:43:42 GMT
Rainer,

I've been searching the web for documented system properties to use to set
up Catalina, but I am confused.

How do I know which system properties to use? And where can I find proper
documentation for it?
Will setting these Catalina options be reflected in the server.xml?

Thanks,
Anna


> >
> >Hi Anna,
> >
> >Anna Nhan schrieb:
> > > Hi,
> > >
> > > Is there a way to change the Connector element in server.xml without
> > > manually editing the file?  Could we, for example, change the
> > > CATALINA_OPTS line using a script or C code to choose whether to use
> > > HTTP or HTTPS,  the file path to the keystore and keystore password,
> > > and whether or not the server should require client authentication?
> >
> >Starting with TC 5.0 you can use system properties in server.xml, which
> >you can set during startup as commandline arguments
> >(-Dname.of.the.property=value).
> >
> >You refer to a system property in server.xml with ${name.of.the.property
> }.
> >
> >If you don't like a very long command line, you can also set system
> >properties by adding them to catalina.properties (e.g. the startup
> >script could concatenate a master catalina.properties with additional
> >lines coming out of the script).
> >
> >Those ideas don't really help for passwords though (i.e. they don't get
> >more secret by this).
> >
> > > Thanks,
> > > Anna
> >
> >Regards,
> >
> >Rainer
> >
> >---------------------------------------------------------------------
> >To start a new topic, e-mail: users@tomcat.apache.org
> >To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message