I have a problem with setting a new hosts in Tomcat6 host-manager application.
Host-manager application works very well. Everything works. But when restart the server, all settings are lost. I have to everything set up again.

1.I start Tomcat6 host-manager

http://localhost:8080/host-manager/html

2.Set up Hosts

3.Everything works

4.Restart server

/sbin/service restart tomcat6

6.The settings are lost. There are not Hosts. I have to all set up again.
goto 1

I don't know if this tool is supposed to save (write) changes to the core Tomcat config files or not, so you might check the write permissions on server.xml (and others in conf/) to see if the user running Tomcat6 has privileges to make updates to this file. If, in fact, this is what it's supposed to do - if not, perhaps you're supposed to make those changes by hand?

For instance, in MySQL you can dynamically change a lot of variables at runtime which are lost when you restart unless you also, by hand, update the /etc/my.cnf file as well. It's possible this host-manager webapp is the same concept in that it's only adjusting runtime values.