tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wesley Acheson <wesley.ache...@gmail.com>
Subject Re: Host Manager.
Date Thu, 02 Sep 2010 21:20:59 GMT
On Thu, Sep 2, 2010 at 10:06 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Wesley Acheson [mailto:wesley.acheson@gmail.com]
>


>  > How many people would be interested in it persisting its
> > settings, by editing the appropriate files.
>
> I would be interested.  Note that there's only one file to edit:
> conf/server.xml.
>

Honestly I thought there was more than one going from this
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html




>
> > Is that in theory possible?
>
> It's all software...
>
> > to add the folder structure and the appropiate
> > context.xml files.
>
> That's not necessary - the conf/Catalina/[host]/... files are already
> created automatically as webapps are deployed under the new <Host>.  Only
> conf/server.xml needs to be updated.
>
>
>

I've just created a host using the host manager. And deployed a war. I don't
see such a file. just the manager.xml



> > Would it interfere too badly with tomcat while
> > it was running?
>
> No, Tomcat only reads server.xml during startup.  Whatever update mechanism
> is used must insure that the file is never in an unparsable state (e.g.,
> don't update in place, instead create a new file and then rename it).
>
>
Understood for server.xml is the same true of the context files though?

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