[jboss-jira] [JBoss JIRA] Created: (JBAS-6360) Multiple redeployments of ear when many 'watched files' are touched in the ear

DRAI (JIRA) jira-events at lists.jboss.org
Sun Jan 4 16:46:04 EST 2009


Multiple redeployments of ear when many 'watched files' are touched in the ear
------------------------------------------------------------------------------

                 Key: JBAS-6360
                 URL: https://jira.jboss.org/jira/browse/JBAS-6360
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Deployers
    Affects Versions: JBossAS-5.0.0.GA
         Environment: Windows, JBoss Tools 3.0.0 CR 1
            Reporter: DRAI
            Assignee: Ales Justin


When many 'watched files' are touched simultaneously in an ear (for example web.xml, ejb-jar.xml and persistence.xml), the redeploy process is triggered independently for each file and the ear is redeployed as many times as there are modified files. It looks that the deploy process does not correctly clear the list of units to deploy after a deployment is finished.

This is particularly visible when using 'Project archives' of JBoss Tools because almost all files are touched at every build of the archives.

I'm pretty sure this has nothing to do with the archive not being completely built at the time of deployment because the number of redeployments is not just 2 but more than 5 and after debugging the deployer, it is exactly the same number of times than there are watched files.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list