We are developing an application that accepts a file into a watched directory. We then move that file to a staging directory and use its conteints as the text of a text message. We then need to delete the file from the local file system. Using File.delete() results in a security exception. I have tried modifying the server.policy file to allow deletes without any effect. Using Runtime.getRuntime().exec() also gets a security exception.
This is our first foray into using J2EE for this sort of thing