I have scoured this site among others for answers in getting OpenEntityManagerInViewFilter to work. I have a standard User object that references a roles object with a many
Even if I can not answer your question at the moment I can give you some hints.
First there are the some statements, you wrote in your question:
1) Move the above declaration to very top of the web.xml
2) Slap @Transactional around my controller method and/or whole class
1) The order in which the filters are applied is defined by the order of Filters in the web.xml -- So it is correct that the OpenEntityManagerInViewFilter must run before any other filter that use the Entitys. But in most cases there there are not so much filters that relay on Entities. (my the Security filter, if you have extended it) -- But what I do not know is if it is correct to put the filters after the servlet declaration
2) If the Layz Init Exception is thrown in a JSP, then this is defently wrong, because it can not influence the JSP
But what me scared a bit (except from the order in you web.xml that makes it not realy easy to read) is the sitemash filter. My first guess is that sitemash causes the problem. If it is not to complicated, then remove the sitemash filter only for an test. If the problem disapear, then you have identified the causing component.