[Nailgun-users] Querying several JBOSS instances by "nailgaunned" twiddle.sh

Serge Leschinsky fish at infonet.nnov.ru
Mon Mar 2 14:56:08 CST 2009


Hello,

I need to collect a lot of information from dozen JBOSS servers.
twiddle.sh is almost useless because the time of JVM initialization much
more than the query time.
If I use nailgun it works like a charm - very fast. But during the
testing I found out a problem, i.e. the first command is executed
correctly, but the following ones are wrong due to caching (?).

/ng --nailgun-server 127.0.0.1 --nailgun-port 2113 
org.jboss.console.twiddle.Twiddle --user=xxx --password=xxx
--server=10.5.62.23  get  jboss.system:type=ServerInfo HostAddress
HostAddress=10.5.62.23
./ng --nailgun-server 127.0.0.1 --nailgun-port 2113 
org.jboss.console.twiddle.Twiddle --user=xxx --password=xxx
--server=10.5.62.24  get  jboss.system:type=ServerInfo HostAddress
HostAddress=10.5.62.23
./ng --nailgun-server 127.0.0.1 --nailgun-port 2113 
org.jboss.console.twiddle.Twiddle  --user=xxx --password=xxx
--server=10.5.62.25  get  jboss.system:type=ServerInfo HostAddress
HostAddress=10.5.62.23

Could you please advise me how to fix it?

Thank you in advance,
Serge




More information about the Nailgun-users mailing list