tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Sumekar <will.sume...@gmail.com>
Subject Re: web.xml cant load because of <listener>
Date Wed, 10 Nov 2010 01:21:35 GMT
Hi Pid
Thanks for your suggestion. The problem is solved. It's probably caused by
wrong classpath syntax as I had this:
<value>classpath:./hibernate.cfg.xml</value>

However I still think tomcat could give a more verbose error messages.


Will


On Fri, Nov 5, 2010 at 1:45 AM, Pid <pid@pidster.com> wrote:

> On 04/11/2010 16:06, Will Sumekar wrote:
> > 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.
>
> Make a simple test ServletContextListener impl and try to deploy with
> just that in this Tomcat, see if it works.
>
>
> p
>

Mime
View raw message