1 Reply Latest reply on Feb 6, 2008 3:48 AM by hsaha

    how to use twiddle to verify deployment sucessful

    tuananhd

      After deploy a war file to jboss, I need to be able to verify the deployment result. I use jmx console to manually look at the result by looking at the StateString attribute of the war file (for example id=2028225457,war=test.war) under jboss.web.deployment.

      Does anybody know how to use twiddle to query this attribute? I am
      having trouble to find the right syntax to run twiddle to get this attribute.

      thanks a lot.

      Tuananh

        • 1. Re: how to use twiddle to verify deployment sucessful
          hsaha

          There's no straightforward way to do this since the generated ID is not in your control. The work-around would to use the result of a 'query' operation to subsequently invoke the 'get' operation. Following would work in any unix environment:

          ./twiddle.sh -s 127.0.0.1:1099 get --noprefix `./twiddle.sh -s 127.0.0.1:1099 query jboss.web.deployment:* | grep war_name` StateString