3 Replies Latest reply on Jan 27, 2003 11:01 AM by milasx

    hot deployment not working on 3.2.0 RC1

    thelodger

      I am working on a webapp with EJB's that deploys well on 3.2.0rc1. However, subsequent updates to jar and war files are not caught by the deployment scanner and the updated components do not deploy until I stop JBoss and restart it. I did not have this problem on 3.0.x or 2.x so I am wondering that has changed in 3.2 to break hot deployment. Any help would be greatly appreciated...

      Ryan

        • 1. Re: hot deployment not working on 3.2.0 RC1
          thelodger

          While attempting a workaround for the deployment problem I may have stumbled upon a clue. I started the server (with EJB's and web app deployed) and then tried undeploying the components and redeploying them. This worked the first time I tried it, but then I was unable to undeploy the file as it could not be deleted due toa sharing violation. It seems that JBoss is locking the WAR/JAR files after deployment so that they cannot be undeployed either. Any clues about this would be great...

          Ryan

          • 2. Re: hot deployment not working on 3.2.0 RC1
            sebastien_petrucci

            Hi,

            I have the same problem.
            As I just read in another thread, this is a known bug that has been fixed in the CVS tree.
            In the mean time, the workaround seems very simple :
            do not delete the file, just overwrite it.
            It's a bit dirty, but seems to work on my system.

            Regards,
            Sebastien.

            • 3. Re: hot deployment not working on 3.2.0 RC1
              milasx

              Same issue, same Jboss version, same workaround on Windows NT.

              Simone