Hi dcannell01!
How are you shutting down the server? The admin console uses File.deleteOnExit() to remove the extra file. So as written, I would expect the temporary file to stay around until you stop the domain. It may stay around longer if you "kill -9" the process, however.
In the case where an upload through the GUI is not needed, as you observed, no extra file should be created.
If you would like to write a script which removes these files, that should be fine. They aren't used after deployment and are safe to delete. It would be a good enhancement to either 1) delete these files after deployment; 2) delete these files on server startup.
Good luck!
Ken
[Message sent by forum member 'kenpaulsen']
http://forums.java.net/jive/thread.jspa?messageID=452667