-
1. Re: problems with twiddle.sh under linux (syntax)
jaikiran Jan 13, 2009 7:34 AM (in response to bill_tuer)Is that the exact command you are using? Works fine for me on RHEL5 operating system (for JBoss-5.0 GA)
twiddle.sh -s localhost get jboss.system:type=ServerInfo
-
2. Re: problems with twiddle.sh under linux (syntax)
bill_tuer Jan 13, 2009 7:36 AM (in response to bill_tuer)jap, on all my other servers it is working too like this.
but not on this server:
/opt/server/jboss-4.0.5.GA/bin # ./twiddle.sh -s localhost get jboss.system:type=ServerInfo
A JMX client to 'twiddle' with a remote JBoss server.
usage: twiddle.sh [options] [command_arguments]
options:
-h, --help Show this help message
--help-commands Show a list of commands
-H= Show command specific help
-c=command.properties Specify the command.properties file to use
-D[=] Set a system property
-- Stop processing options
-s, --server= The JNDI URL of the remote server
-a, --adapter= The JNDI name of the RMI adapter to use
-u, --user= Specify the username for authentication
-p, --password= Specify the password for authentication
-q, --quiet Be somewhat more quiet
BiLL -
3. Re: problems with twiddle.sh under linux (syntax)
bill_tuer Jan 13, 2009 8:03 AM (in response to bill_tuer)its strange. i copied a twiddle.sh from another server and now its working.
BiLL -
4. Re: problems with twiddle.sh under linux (syntax)
peterj Jan 13, 2009 11:59 AM (in response to bill_tuer)Sometimes it helps to enclose the mbean name within quotes:
./twiddle.sh -s localhost get "jboss.system:type=ServerInfo" -
5. Re: problems with twiddle.sh under linux (syntax)
bill_tuer Jan 14, 2009 3:02 AM (in response to bill_tuer)i tried this too. but this doesnt help. i had to copy another twiddle.sh, so now it works.
BiLL -
6. Re: problems with twiddle.sh under linux (syntax)
jaikiran Jan 14, 2009 3:11 AM (in response to bill_tuer)Maybe someone had edited the other twiddle.sh
-
7. Re: problems with twiddle.sh under linux (syntax)
bill_tuer Jan 14, 2009 6:55 AM (in response to bill_tuer)maybe.
BiLL