Hi,
I'm experiencing a problem using the filter HibernateSessionConversationFilter found in
http://www.hibernate.org/43.html. Every time I redeploy my application on container I get the error:
[code]2006-12-06 19:36:13,819 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/erevista] - Exception starting filter HibernateSessionConversationFilter
java.lang.ExceptionInInitializerError
at br.gov.trt13.erevista.dao.HibernateUtil.<clinit>(HibernateUtil.java:28)
at br.gov.trt13.erevista.www.filter.HibernateSessionConversationFilter.init(HibernateSessionConversationFilter.java:144)
[/code]
This only happens when I redeploy a new application's version. I traced the root cause and it's the following line of HibernateUtil's class:
[code] sessionFactory = new Configuration().configure().buildSessionFactory();[/code]
More precisely, it's in the buildSessionFactory() method. I'm using Hibernate 3.2 and Tomcat 5.5. I've already tried to found a solution in many places, all unsuccessfull. Can everyone have experienced that? I really apreciate any help. I searched this topic before write this message and I found nothing about it.
Thank's in advance
Fred