Thank you for the super quick reply Mark! We are using Java Spring. The reason for moving the web application out of the webapps directory was that the Spring Context Loader was loading twice. First because its in the webapps directory. Secondly, because it is being referred to by the <Host> entry in the server.xml file.
So how do I keep the web application out of Tomcat/webapps directory make the docBase different from the appBase? Or is there a way to keep the web application in the Tomcat/webapps directory and NOT have Spring Context Loader load twice. Please advice. Thanks, Joe On Tue, May 4, 2010 at 10:36 AM, Mark Thomas <ma...@apache.org> wrote: > On 04/05/2010 17:32, Joe Hansen wrote: >> Hey all, >> >> We are using Tomcat 6 on a Windows XP box. We have a web application >> named abc. It was initially in the c:\Tomcat\webapps directory. I then >> moved the c:\Tomcat\webapps\abc directory to c:\Tomcat\abc. I then >> changed the Tomcat/conf/server.xml file to reflect this change... >> <Host name="abc.local" appBase="abc" >> unpackWARs="true" autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false"> >> <Context path="" docBase=""> >> <ResourceLink global="jdbc/MySqlDatabase" >> name="jdbc/MySqlDatabase" type="javax.sql.DataSource" /> >> </Context> >> </Host> >> >> Though the web application itself works fine, the web application >> logging no longer works after this change! How do I get the log4j >> logging to work again? Please advice! > > Put the web application back where it belongs. docBase==appBase is *not* > a valid configuration. As you have seen, things break if you do that. > > Mark > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org