cancel
Showing results for 
Search instead for 
Did you mean: 

Errors on first boot after install

unknown-user
Champ on-the-rise
Champ on-the-rise
Installing on Redhat enterprise 5.  THe installation went fine.  When I go to start alfresco however i get the following errors after I try to go to url after server server is totally up.

INFO: Server startup in 913006 ms
May 11, 2010 11:35:47 AM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.OutOfMemoryError: PermGen space
May 11, 2010 11:35:51 AM org.apache.coyote.http11.Http11Processor process
SEVERE: Error finishing response
java.lang.OutOfMemoryError: PermGen space
May 11, 2010 11:35:55 AM org.apache.coyote.http11.Http11Processor process
SEVERE: Error finishing response
java.lang.OutOfMemoryError: PermGen space
May 11, 2010 11:35:59 AM org.apache.coyote.http11.Http11Processor process
SEVERE: Error finishing response
java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50502]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50505]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50504]" java.lang.OutOfMemoryError: PermGen space

I've tried reinstalling a couple of times but always the same error.
2 REPLIES 2

jpfi
Champ in-the-making
Champ in-the-making
hi,
you need to increase your java memory, e.g. in alfresco.sh:
-Xms128m -Xmx768m -XX:MaxPermSize=256m -server
cheers, jan

unknown-user
Champ on-the-rise
Champ on-the-rise
I tried the edit of alfresco.sh

JAVA_OPTS='-Xms128m -Xmx768m -XX:MaxPermSize=256m -server'
but get different error
im using RHEL5

SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Exception in thread "net.sf.ehcache.CacheManager@349d963f" java.lang.NullPointerException
        at org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:204)
        at net.sf.ehcache.util.UpdateChecker.checkForUpdate(UpdateChecker.java:62)
        at net.sf.ehcache.util.UpdateChecker.run(UpdateChecker.java:50)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)