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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|