cancel
Showing results for 
Search instead for 
Did you mean: 

problem in alfresco in linux server

tejashpatel
Champ in-the-making
Champ in-the-making
hi everyone,

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:
java.lang.NoSuchMethodError: java.lang.Object.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer;

please reply me if you have solution for this error.

regards,
Tejash patel
5 REPLIES 5

dnind
Champ in-the-making
Champ in-the-making
This has come up before on the forums.  Searching on LazyInitializer brings up a few results.  See:
http://forums.alfresco.com/viewtopic.php?t=5011&highlight=lazyinitializer

This may work with Jboss installation, I'm not sure as I not familiar with Jboss.

The Wiki has information about installing on Jboss at:
http://wiki.alfresco.com/wiki/Deploying_WAR_JBoss

Please only post your problem once - the installation forum is probably the best place (as you have done x2) Smiley Happy

tejashpatel
Champ in-the-making
Champ in-the-making
This has come up before on the forums.  Searching on LazyInitializer brings up a few results.  See:
http://forums.alfresco.com/viewtopic.php?t=5011&highlight=lazyinitializer

This may work with Jboss installation, I'm not sure as I not familiar with Jboss.

The Wiki has information about installing on Jboss at:
http://wiki.alfresco.com/wiki/Deploying_WAR_JBoss

Please only post your problem once - the installation forum is probably the best place (as you have done x2) Smiley Happy


hi,

i start my alfresco tomact server is like this.

./startup.sh -server

still i am getting this error.

could u help me.

regards,
Tejash

heckle
Champ in-the-making
Champ in-the-making
I get the same error using tomcat. In my case, I am trying to move over a set of directories via either smb or ftp. happens every time.

steve
Champ in-the-making
Champ in-the-making
Hi,

The -server flag should be set as a JAVA_OPTS setting.

E.g. we ship the following as the default in our bundles:

set JAVA_OPTS=-Xms128m -Xmx512m -Xss64k -server

Hope this helps,

Steve

oburlaca
Champ in-the-making
Champ in-the-making
In alfresco.sh I see:
export JAVA_OPTS='-Xms128m -Xmx512m -server'

but when I launch alfresco, in alfresco.log I see:
INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0-b105; maximum heap size 1012.625MB

Do anyone knows why it doesn't want to use -Xmx512m ?

P.S. I've rebuilt alfresco from svn a couple of days ago. Can this be related to the problem I have?
Thank you