I have a Tomcat 7 server in Eclipse with two webapps a and b , and you need to figure out how to have tomcat application configuration files that work with Eclipse.
Now I want each webapp to configure a configuration file as described here: Apache Tomcat: several webapps . So I created a folder <TomcatDirectory>/conf/Catalina/localhostand placed there a.xmland b.xml. This works fine when I start Tomcat from the command line.
But , where should I put specific application configuration files a.xmland b.xmlwhen do I start Tomcat from eclipse?
I already tried to put files in Eclipse in <EclipseWorkspace>\Servers\<ServerName>\conf\Catalina\localhost\, but WTP does not copy these files to<EclipseWorkspace>\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost
David source
share