Wednesday, June 27, 2007

Alfresco problem using Tomcat

clipped from

java.lang.NoSuchMethodError: java.lang.Object.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer;

i have installed alfresco 2.0 community war in linux .

and directory structure is like /root/tomcat

Sometime, at least once by day, I have the follwing error :
caused by:

The -server flag should be set as a JAVA_OPTS setting.
set JAVA_OPTS=-Xms128m -Xmx512m -Xss64k -server