1 Reply Latest reply on Jun 9, 2003 4:11 PM by raja05

    Hot Deployment Delay

    darranl

      My application is packaged into an ear file that is quite large and it takes a few seconds for it to be copied to the deploy folder for JBoss.

      I regulary get exceptions thrown by the deployer saying that the file can not be opened, this happens because it is still being copied when the deployer scans the folder and finds the file.

      Is there any way to configure JBoss to check the file to make sure that it is actually ready to be used?

        • 1. Re: Hot Deployment Delay
          raja05

          I suppose the file is created as soon as the first bytes get created in the deploy directory.
          If you are using Ant, copy your ear as .ear.tmp into the deploy dir and then do the rename to .ear. rename shouldnt take more than a few milliseconds for any size of file.

          -Raj