I am trying to use twiddle to automate some of our JBoss administrative tasks and am running into an unexpected issue. I am using the following command to get a list of deployed objects in our environment which does produce output
./twiddle.sh -s odsWebsvc -u admin -p admin query 'jboss.web.deployment:*'
My issue is that the output is not from the server instance I am querying against. It from another server instance installed but not running on the same box in a different directory. It's not even the same version. How do I configure twiddle to query against the correct server instances?
If you can twiddle with -s <host>:<port> you should have the right server.
What might happen is autodiscovery, if you not have the correct host:port you might wonder because one of the (via multicast) available servers will respond