This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have the following code which simply deletes a file. When I run this code in my local machine it works fine but when I run it on a batch server (a server for running standalone Java apps as batch jobs), it fails...
What could be the reason? It looks like I have write permissions, but still the file is not deleted.