-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Problems with HibernateSessionConversationFilter
PostPosted: Wed Dec 06, 2006 7:15 pm 
Newbie

Joined: Wed Dec 06, 2006 6:50 pm
Posts: 7
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.