2 Replies Latest reply on Jan 12, 2010 7:09 AM by jaikiran

    trying findout deployment and undeployment without restart and not using hotdeployment process

      I was trying to findout any method to deploy application in jboss or undeploy application in jboss without restart and also not using hot deployment process

       

       

      i found twiddle.sh helpful but having some issue for e.g

       

      sh twiddle.sh -s http://xx.xx.xx.xx.port/ invoke "jboss.system:service=MainDeployer" deploy "file:////tmp/SMBPortal1.war"

       

      I found my application got deploy in tmp/deploy/

       

      /jboss-4.2.3.GA/server/all/tmp/deploy/tmp25482SMBPortal1-exp.war/webtop
      [root@aceSTGasf1m2 webtop]# cd ..
      [root@aceSTGasf1m2 tmp25482SMBPortal1-exp.war]# ls -ltr
      total 40
      drwxr-xr-x 3 root root 4096 Jan 12 10:37 webtop
      drwxr-xr-x 2 root root 4096 Jan 12 10:37 META-INF
      drwxr-xr-x 2 root root 4096 Jan 12 10:37 html
      drwxr-xr-x 9 root root 4096 Jan 12 10:37 windowsjs
      drwxr-xr-x 7 root root 4096 Jan 12 10:37 WEB-INF
      drwxr-xr-x 2 root root 4096 Jan 12 10:37 layout
      drwxr-xr-x 2 root root 4096 Jan 12 10:37 js
      drwxr-xr-x 2 root root 4096 Jan 12 10:37 images
      drwxr-xr-x 5 root root 4096 Jan 12 10:37 files
      drwxr-xr-x 2 root root 4096 Jan 12 10:37 css

       

      but i try to undeploy same application with

       

      sh twiddle.sh -s http://xx.xx.xx.xx.port/ invoke "jboss.system:service=MainDeployer" deploy "file:////tmp/SMBPortal1.war"

       

      it doesn't delete same application from /jboss-4.2.3.GA/server/all/tmp/deploy/tmp25482SMBPortal1-exp.war

       

       

      please let me anyone have try twiddle for deployment and undeploy application if yes

       

      please give me complete detail

       

      thanks

      hiten bhawsar