Whoops, should have posted here , and now it won't let me delete the comment... Well, it looks like a permissions issue. I'm going to guess that you need to change the ownership of the webapp to whatever your application server runs as. Looks most likely to be tomcat, but hard to say. Probably you installed this as root, and it runs, etc, but when you publish, it's attempting to write to the file system with the permissions of the user that the applciation server runs as.