Hello,

I tried the steps enumerated in the upgrade guide of the 2.0 M5 Release
Notes page. Initially, everything seemed to work fine in that all our tests
passed. But, when I ran the application and tried accessing our first page,
I started getting LazyInitialization exceptions like:

org.hibernate.LazyInitializationException: could not initialize proxy - the
owning Session was closed

or 

org.hibernate.LazyInitializationException: failed to lazily initialize a
collection of role: com.lexy.model.MenuGroup.children, no session or session
was closed

I'm able to make these errors go away and make our application work if I
ignore step #17:
"The OpenSessionInViewFilter is now commented out in web.xml by default."
So, if I don't comment out the OpenSessionInViewFilter, everything seems
okay. 

Is there a different fix for this problem in M5?


Thanks,
Rom




-- 
View this message in context: 
http://www.nabble.com/2.0-M5-upgrade-issue-tf4263095s2369.html#a12132201
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to