I have a sar file with a nested war file. Both are very simple, a few utility jars in the sar and only one servlet with its corresponding web.xml are in the war. I'm using JBoss 3.2.5. on windows XP.
With my sar in the deploy directory it fails to deploy the sar. I get the following error:
org.jboss.deployment.DeploymentException: Was unable to move war to: C:\work\jboss-3.2.5\server\default\tmp\deploy\tmp56549mysar.sar-contents\mywar.war.tmp
Windows is pretty dumb about letting you move/rename/delete files that are already open. I'm not sure if this is a JDK issue or a JBoss one. Does this prevent you from moving forward? Sounds to me like the deployer should continue to work even if it can't rename the old file. You might want to submit a bug+test case to sf.net if you feel you have a reproducable test case. (Also check if this might have been closed as a non-fixable issue.)