I am working with JSF 2 (and primeFaces) and JPA. My problem appears when I want to call a service (to make a search) from a manadged bean; I have the following exception when I try to get the hibernate current session : org.hibernate.SessionException : session is closed.
So, I would like to know if it miss me a special filter dor JSF 2 or primeFaces in my file web.xml, because I currently use the Spring OpenEntityManagerInViewFilter filter.
I hope you will be able to help me.
Thanks in advance.
Joined: Nov 09, 2010
I just found the problem : the managed bean was created in my flow (I work with Spring WebFlow too) and not in my Spring context.
The topic is now closed! yes!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: JSF 2 : hibernate session problem in manadged beans