I downloaded alfresco 1.2.1 war that I planed to deploy on JBoss 4.0.2 on Windows XP. According to the instructions given in README_war.txt file, I executed the sql script provided and then placed the war in jboss deploy directory and started JBoss. JBoss started deploying the war and gives out of virtual memory error first (even my RAM is of 1GB and I have set virtual memory upto 5GB) and then it gives out of disk space error. Bang, it created a log file of 7GB and my disk space on Drive C was full. I modified the log4j.properties file and commented out Spring , Hibernate etc. logging, however still it generated a 3GB log file and after that when I tried to access it by firefox (http://localhost:8080/alfresco) the size of file again reached to 7GB. So please consider that for each request if a 4 GB log is written what will happen in production environment?Also please give me some solution as I am unable to access Alfresco using my browser.
JBoss, Spring and Hibernate are prolific loggers when DEBUG category is enabled (which it is by default in JBoss). Edit the log4j.xml file in server/default/conf and add this section at the bottom: