This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
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!
subject: JSF 2 : hibernate session problem in manadged beans