2 Replies Latest reply on Nov 7, 2007 1:52 AM by svsubramanyam007

    How will the deploy folder listen to *.war/*.ear/*.ejb3.0 ?

    svsubramanyam007

      Hi,
      When we deploy any *.war/*.ear/*.ejb3.0 in server/default/deploy , will the server is running. As soon as we place new fiel.it starts deploying...

      how will this work? How will this deploy folder been watched continously?

      What part of code in Jboss takes care of this..?



      cheeers
      Subramanyam007

        • 1. Re: How will the deploy folder listen to *.war/*.ear/*.ejb3.
          jaikiran

          If you look at the jboss-service.xml file present in the server/< serverName>/conf folder, you will find a "DeploymentScanner" which is configured for this very purpose. It has attributes like "ScanPeriod" (the interval for checking the deploy folder) and "ScanEnabled" (to enable/disable scanning) along with other attributes which controls its behaviour

          • 2. Re: How will the deploy folder listen to *.war/*.ear/*.ejb3.
            svsubramanyam007

            Thanks lot jai..,

            I understood that scanner will be doing, it for every particulat interval of time.

            As soon as we deploy ,hw will this get executed, i have doubt hw will that compare? where does the comparsion takes place and hw will that comparsion done...will it be with time stamp..?hw will this
            Hw will this compare with previous cache .....(timestamp,content,object) or any comparsion it follows(i read it as url comparsion)?

            cheers
            Subramanyam007