I am new to Tomcat on Windows. I am trying to deploy my Java project which I have made in RHEL 5 using Tomcat. Now I want to run that project on window. So I copied and past
De permissão total ao diretório apache. No windows botão direito do mouse propriedades->seguranca->avançadas->permissões->adicionar
It can be because of lack of write permissions to cache directory (/var/lib/tomcat6 on Linux). If this is your case, use the following commands to grant full access and restart Tomcat:
sudo /etc/init.d/tomcat6 stop
sudo chown -R tomcat6 /var/lib/tomcat6
sudo chmod -R 777 /var/lib/tomcat6
sudo /etc/init.d/tomcat6 start
If this was working for you previously, sometimes the work directory is simply in a bad state and you can fix it by simply deleting it and allowing Tomcat to create a new one from scratch.
Check your Disk space ?
I also got this error when my / partition had filled up. Freeing up some disk space removed this error for me.
If you are on Linux/Unix and facing the issue:
STEPS:
Note the User and the service ,in my case it was tomcat yours could be anything else...
1. mkdir work
2. sudo chown tomcat work
3. service tomcat6 restart
Try restarting the server completely (if applicable)