6 Replies Latest reply on Jan 5, 2003 11:32 PM by zhebincong

    question about deployment

    zhebincong

      hello
      i can deploy my application into jboss by hot-deployment(copy the "jar,war or ear" file to deploy directory),but i wonder if the jboss can deploy the package that is outside the jboss istallation directory(i mean i don't copy them to jboss box),just like that weblogic can.

      thank you!

        • 1. Re: question about deployment
          sgturner

          Absolutely. Go to the DeploymentScanner MBean in the jmx console and add the URL of the *ar file you want to deploy. If you want this persisted, add the URL to the configuration for the DeploymentScanner in jboss-service.xml.

          See my August 2002 newsletter:
          http://www.tiburon-e-systems.com/jboss.htm

          • 2. Re: question about deployment
            zhebincong

            thanks for your answer.
            i open the jmx-console,and click "type=DeploymentScanner,flavor=URL
            " link,the new page is opened,but i don't know how to use it,could you tell me where i can find the tutorial that tell me how to use the jmx-console?

            i also find several "jboss-service.xml" files,but i can't find "DeploymentScanner " item within them,could you give me a moer detailed instruction?

            thank you!

            • 3. Re: question about deployment
              vinays

              1. Under <jboss_home>/server/default/conf, open the jboss-service.xml file.
              2. In this search for

              3. Under this element serach for
              ./deploy
              4. Modify this to
              ./deploy,c:/jbossdeploy
              where c:/jbossdeploy is a directory which holds my project.war file.

              Hope this helps...
              cheers...

              • 4. Re: question about deployment
                zhebincong

                hello
                thanks for your helps,it works well.but i wonder how can i deploy a "exploded" directory that is outside the jboss installation too?

                • 5. Re: question about deployment
                  zhebincong

                  hello
                  thanks for your helps,it works well.but i wonder how can i deploy a "exploded" directory that is outside the jboss installation too?

                  • 6. Re: question about deployment
                    zhebincong

                    hello
                    thanks for your helps,it works well.but i wonder how can i deploy a "exploded" directory that is outside the jboss installation too?