Today's product integration of a report, encountered many problems, the other is a very wonderful problem is, modify tomcat several configuration files, has not worked, started debugging several times to find, modified a start service to restore the initial configuration information, is really wonderful.
Check to find out why , because I use eclipse,myeclipse is not to encounter this problem, because Eclipse no file synchronization, you directly modify Context.xml is not, also You need to open the context.xml in the server in the Eclipse Editor, then modify it, and fix it in 2 directions (or restart Eclipse), no problem. The same is true of Server.xml.
Oh, this problem is not wonderful?! Put out my solution, I hope to help you encounter such problems!
Tomcat configuration file modification Invalid Automatic recovery restore summary of workarounds