[jboss-user] [Beginners Corner] - twiddle can't get some objects?
do-not-reply at jboss.com
Mon Jan 26 15:58:46 EST 2009
This seems like it should be simple but I can't find any helpful info online about it. I have a jboss server running and I'm trying to use twiddle to get info about various objects that are visible in the JMX console. Some return data as expected, while others give an error. Specifically these cases:
| twiddle.sh -s localhost info jboss.system:type=Server
| twiddle.sh -s localhost get jboss.system:type=Server
Both of the above return as expected. No errors.
| twiddle.sh -s localhost info jboss:service=Naming
The above info command also returns a list w/ the description, attributes and operations as expected.
| twiddle.sh -s localhost get jboss:service=Naming
However this time trying to get that object fail as above fails like this:
| 12:49:21,579 ERROR [Twiddle] Exec failed
| java.io.NotSerializableException: java.lang.reflect.Method
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
I've seen errors like this in other posts, but in those cases it looks like that first line after "Exec failed" usually has some useful information about why. Maybe I'm missing the meaning? Can I not get this object? How do I know if I can or not? I assume I should be able to since the JMX console can?
Can you help a n00b?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204818#4204818
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204818
More information about the jboss-user