Geez, a lot of discussion. Bill, can you please file a JIRA.
There's some commented out code related to retrying a deployment with a
.failed marker if the timestamp of the underlying file changed. TBH I
don't recall why it was commented out, but I agree it should work if at
all possible so it's worth another try.
On 7/8/11 8:38 AM, Bill Burke wrote:
Maybe I'm just not supposed to do it this way but:
1) I deployed a bad war, bot a deployment error
2) I fixed the problem, re-copied the war to the deployments directory
3) The war deployment was skipped on restart (I'm guessing because there
is a mywar.war.failed file in the deploy directory.
Is this intended behavior? Seems like it could cause a lot of problems.
In the minimum, AS7 should check to see if the date of the .failed or
.deployed file is older than the actual deployment file.
I'll log a JIRA if u agree.
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat