Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How to use twiddle utility in JBoss to get all the attributes of any Request Processor
for ex:

name=HttpRequest1,type=RequestProcessor,worker=http-ip>-8080 

where ip is the ipaddress of the server.

This is to get all the stats that are displayed as Tomcat status in command mode for automation.

./twiddle.sh --user=admin --password=admin get 'jboss.web:name=http-myip-8080,type=RequestProcessor'  



22:01:16,866 ERROR [Twiddle] Exec failed

javax.management.InstanceNotFoundException: jboss.web:name=http-<ip>-8080,type=RequestProcessor is not registered.  
    at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:526)
    at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:675)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.