3 Replies Latest reply on Jun 27, 2005 3:44 AM by nappinc

    dealing with slow hot deployments

    nappinc Newbie

      We're experiencing an error with the automatic hot deployment of .ear files with JBoss 4.0. To deploy the file, we use scp to copy the ear file directly into the appropriate "deploy" directory. However, because the file is large, and network is slow(-ish), JBoss sometimes attempts to deploy the file before it has fully transferred over the network. In this case, we get an error (Cannot find nested .war file) and our application stops working.

      I can decrease the frequency with which JBoss polls the deploy directory, to decrease the likelyhood of this happening, but it could still happen. Does anyone know of a proper solution, short of disabling the hot deployment and doing everything manually?