cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 5.0.a WAR Installed: Logfile location issue

tmdor
Champ in-the-making
Champ in-the-making
I have error in catalina.out as below..

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
                     …

This error msg appears Two Times between a starting up of Alfresco. One occurs at deploying share.war, and the other occurs at deploying alfresco.war.

It is said "permission denied", so I found log4j.properties file in webapps/alfresco/WEB-INF/classes and modified “log4j.appender.File.File” as location of permission allowd. This has gone well about deploying alfresco.war, but share.war returns the same result.

Where can I specify the location of alfresco.log in the "share" context?


*** CentOS6.5 + Tomcat7 + Alfresco5.0.a(WAR Install) ***
1 REPLY 1

tmdor
Champ in-the-making
Champ in-the-making
Copy of webapps/alfresco/WEB-INF/classes/log4j.properties similarly worked well in webapps/share/WEB-INF/classes.
thank you.