Alfresco uses log4j for logging. When u install and use Alfresco u can see errors, warn, debug and etc. in alfresco.log file.
In Windows u can do this by any log tail programs. Personally I am using
WinTail
:)
U can configure your logging settings in file log4j.properties in directory
3. ERROR: java.lang.OutOfMemoryError: Java heap space
SOLUTION: set JAVA_OPTS="-Xms64m -Xmx256m" OR in Win tomcat6.0 Stop Apache tomcat go to the Apache tomcat properties by double clicking tomcat6w.exe (location:Drive (e.g C)/tomact/bin/tomcat6w) or go to Start>All Programs>Apache Tomcat 6.0>Configure tomcat Click the Java tab Under the Java tab set the Innitial memory pool and maximum memory pool. These fields by default are empty. Click Apply then Restart Apache tomcat
4. ERROR: Caused by: java.io.NotSerializableException: org.alfresco.web.ui.common.component.UIListItem
SOLUTION: Stop Tomcat delete "work" and "temp" folders, Start Tomcat
5. WARN: [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 254.063MB is less than recommended 512MB
SOLUTION: export JAVA_OPTS='-Xms256m -Xmx1024m -XX:MaxPermSize=128m -server'
6. ERROR: LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
SOLUTION: change <tomcat_webapps_dir>/alfresco/WEB-INF/lib/log4j-1.2.15.jar library to new version of logger library.
<tomcat_webapps_dir>/alfresco/WEB-INF/classes
1. ERROR: [domain.schema.SchemaBootstrap] Schema auto-update failed org.alfresco.error.AlfrescoRuntimeException: A previous schema upgrade failed. Revert to the original database before attempting the upgrade again.
SOLUTION: Delete "alf_bootstrap_lock" table from DB and try again
2. ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 1
SOLUTION: change "TYPE" to "ENGINE" in SQL file and run manual ;)
3. ERROR: java.lang.OutOfMemoryError: Java heap space
SOLUTION: set JAVA_OPTS="-Xms64m -Xmx256m" OR in Win tomcat6.0 Stop Apache tomcat go to the Apache tomcat properties by double clicking tomcat6w.exe (location:Drive (e.g C)/tomact/bin/tomcat6w) or go to Start>All Programs>Apache Tomcat 6.0>Configure tomcat Click the Java tab Under the Java tab set the Innitial memory pool and maximum memory pool. These fields by default are empty. Click Apply then Restart Apache tomcat
4. ERROR: Caused by: java.io.NotSerializableException: org.alfresco.web.ui.common.component.UIListItem
SOLUTION: Stop Tomcat delete "work" and "temp" folders, Start Tomcat
5. WARN: [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 254.063MB is less than recommended 512MB
SOLUTION: export JAVA_OPTS='-Xms256m -Xmx1024m -XX:MaxPermSize=128m -server'
6. ERROR: LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
SOLUTION: change <tomcat_webapps_dir>/alfresco/WEB-INF/lib/log4j-1.2.15.jar library to new version of logger library.
7. ERROR: Out of Memory PermGen Space
SOLUTION: Stop Tomcat add -XX:MaxPermSize=128m line to JAVA OPTIONS list in tomcat6w.exe and finally Start Tomcat (If u don't know how to set Java options for Tomcat on Windows then read from here)
No comments:
Post a Comment