cancel
Showing results for 
Search instead for 
Did you mean: 

System Error

eric_compain
Champ in-the-making
Champ in-the-making
Sometime, at least once by day, I have the follwing error :

javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException:Exception while invoking expression #{LoginBean.login}
caused by:
java.lang.NoSuchMethodError: java.lang.Object.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer;

When I stop and start Alfresco, the error disappear.

Any ideas ?

Thanks for yours answers.
3 REPLIES 3

alexander
Champ in-the-making
Champ in-the-making
I did look around and found that this happens with Hibernate when tomcat is started without -server switch (this happened to me when I used Alfresco embedded in other applications)

Do you use standard Alfresco install?

kevinr
Star Contributor
Star Contributor
Correct the  -server  switch is required as a workaround for this Hibernate issue.

Thanks,

Kevin

eric_compain
Champ in-the-making
Champ in-the-making
Thanks for your(s) answer(s)

Eric