AFAIK if you dont specify contextConfigLocation system looks for default filename applicationContext.xml at default location of ./WEB-INF/. But it doesnt matter cos even if I put context-param the error still comes.
So far it looks like the error is caused by <listener>. Once I remove it, it's OK. Which is really, really strange. You can set tomcat to use log4j by putting log4j jar in /common/lib and log4j.properties in /common/classes. In case you want to try, also put commons logging jar in lib dir. Cheers Will On Thu, Nov 4, 2010 at 8:19 PM, Konstantin Kolinko <knst.koli...@gmail.com>wrote: > > > AFAIK, you have to specify contextConfigLocation context parameter > with location of your application context xml file. > > BTW, the log that you cited looks like generated by Log4j. That is not > the default configuration. > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >