You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Richard Morey <ri...@gmail.com> on 2015/09/07 05:45:44 UTC
Tomcat 8 - server.xml Not Updating
Hi --
I have just installed Tomcat 8 on Windows 2008 R2. I go into the host
manager and add two virtual hosts. However, the server.xml file does not
get updated. When I restart the Tomcat service the two virtual hosts no
longer appear in the host manager web UI.
Additionally, if I manually add hosts to the server.xml file they do not
appear either.
It appears as though Tomcat is neither reading nor writing to this file,
however, when I tried renaming it Tomcat - as expected - would not
start.
Has anyone else run into this problem? Can anyone offer a solution?
Thanks
Rich
Re: Tomcat 8 - server.xml Not Updating
Posted by Mark Thomas <ma...@apache.org>.
On 07/09/2015 04:45, Richard Morey wrote:
>
> Hi --
>
> I have just installed Tomcat 8 on Windows 2008 R2. I go into the host
> manager and add two virtual hosts. However, the server.xml file does not
> get updated. When I restart the Tomcat service the two virtual hosts no
> longer appear in the host manager web UI.
As expected.
https://bz.apache.org/bugzilla/show_bug.cgi?id=48674
Improvements to the proposed patch welcome.
> Additionally, if I manually add hosts to the server.xml file they do not
> appear either.
Then you are doing something wrong. Did you update DNS as well?
Mark
> It appears as though Tomcat is neither reading nor writing to this file,
> however, when I tried renaming it Tomcat - as expected - would not start.
>
> Has anyone else run into this problem? Can anyone offer a solution?
>
> Thanks
>
> Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 8 - server.xml Not Updating
Posted by "Mike.Guo" <ho...@163.com>.
Hi, Richard
I got issue on tomcat virtual hosting too, but not same issue with you, I tried the hosting manager too, I suppose it just a view tool!
If we want to build virtual hosting , have to edit that server.xml, I guess.
Mike
Sent from my iPhone
> 在 2015年9月7日,11:45,Richard Morey <ri...@gmail.com> 写道:
>
>
> Hi --
>
> I have just installed Tomcat 8 on Windows 2008 R2. I go into the host manager and add two virtual hosts. However, the server.xml file does not get updated. When I restart the Tomcat service the two virtual hosts no longer appear in the host manager web UI.
>
> Additionally, if I manually add hosts to the server.xml file they do not appear either.
>
> It appears as though Tomcat is neither reading nor writing to this file, however, when I tried renaming it Tomcat - as expected - would not start.
>
> Has anyone else run into this problem? Can anyone offer a solution?
>
> Thanks
>
> Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org