i\'ve problem with the deployment of an grails app.
i get the following exception:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundEx
Check out the official documentation on deploying a Grails application to Tomcat at http://www.grails.org/Deployment/#Tomcat.
To quote the relevant section...
"Be aware that on default settings, Grails will attempt to write to the tomcat directory certain files, typically the stacktrace.log and the h2 database. Your Tomcat directory is likely installed with owner/group of root, while the Tomcat server runs as user tomcat6. This will cause your application to fail to start with write permission errors. Either change your Grails production settings so that these files are written elsewhere to directories with correct permissions OR change the owner of the Tomcat directory (for Unix: /var/lib/tomcat6) to tomcat6 (or whatever tomcat user you set up using the TOMCAT6_USER setting)."
You can use sudo chown tomcat6 /var/lib/tomcat6
to change the owner (replace the user running tomcat and the directory where the logs are being written if needed), which is the simplest and most appropriate solution for most situations.
I ran into a similar issue with Grails 1.3.7 and found this fixed it (by pushing the stack trace log into the standard logging directory)
log4j = {
appenders {
rollingFile name: "stacktrace", maxFileSize: 1024, file: "/var/logs/piws-stacktrace.log"
....
check disk space (long shot) and try chmodding to 777 just to verify its a permission issue. If it is, you either not running tomcat as the tomcat user or your directories are off...