[jboss-jira] [JBoss JIRA] (WFCORE-505) Fix double redeployment due to .failed file and a artifact with newer timestamp.

RH Bugzilla Integration (JIRA) issues at jboss.org
Tue Jan 17 05:02:00 EST 2017


    [ https://issues.jboss.org/browse/WFCORE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13349213#comment-13349213 ] 

RH Bugzilla Integration commented on WFCORE-505:
------------------------------------------------

Petr Penicka <ppenicka at redhat.com> changed the Status of [bug 1169239|https://bugzilla.redhat.com/show_bug.cgi?id=1169239] from VERIFIED to CLOSED

> Fix double redeployment due to .failed file and a artifact with newer timestamp.
> --------------------------------------------------------------------------------
>
>                 Key: WFCORE-505
>                 URL: https://issues.jboss.org/browse/WFCORE-505
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.0.0.Alpha15
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>             Fix For: 1.0.0.Beta5
>
>
> Issue found and described in https://bugzilla.redhat.com/show_bug.cgi?id=1169239
> steps to reproduce:
> 1. deploy a "Test.war"
> 2. Change something in "Test.war" to fail it.
> 3. "Test.war.failed" file will be created.
> 4. stop JBoss EAP.
> 5. Revert the changes done in "Test.war" so that it will deploy successfully. 
> 6. Now there are two files ("Test.war.failed" and "Test.war", due to correction, Test.war must have a newer timestamp than Test.war.failed)in deployment directory. 
> 7. Restart JBoss EAP, it will fail with below Error :
> The problem happens as a result of redundant redeployment in next reboot. During servert reboot, it will try to redeploy the application due to found .failed file, it also will try to redeploy same application because Test.war has a newer timestamp to see the problem. This will cause server startup failure as:
> {noformat}
> ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 18) JBAS014613: Operation ("add") failed - address: ([("deployment" => "Test.war")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"Test.war\")]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list