Bugs item #860175, was opened at 2003-12-14 22:35
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=860175&group_id=22866

Category: JBossMX
Group: v3.2
Status: Open
>Resolution: Remind
Priority: 5
Submitted By: Srivatsan (srivatsanp)
Assigned to: Scott M Stark (starksm)
Summary: NotSerializableException when using "twiddle" for a XMBean

Initial Comment:
When a XMBean has an attribute of type Element,
invoking that MBean through twiddle results in
NotSerializableException.

Please find attached the zip containing the source,
descriptors and the sar used for testing.


sh twiddle.sh invoke "jboss.test:service=TestXMBean" create

twiddle.sh: RuntimeMBeanException: null
Cause: org.jboss.util.NestedRuntimeException: error
unmarshalling return; nested exception is:
        java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.apache.crimson.tree.ElementNode; - nested
throwable: (java.rmi.UnmarshalException: error
unmarshalling return; nested exception is:
        java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.apache.crimson.tree.ElementNode)

I am using JBoss 3.2.1


----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2004-01-15 05:05

Message:
Logged In: YES 
user_id=175228

Submit the mbean as an attachment along with the twiddle
command that produces the error.

----------------------------------------------------------------------

Comment By: Srivatsan (srivatsanp)
Date: 2004-01-05 20:52

Message:
Logged In: YES 
user_id=687037

I am not accessing the non serializable attribute from twiddle.
I am just invoking some other operation on the MBean. It
fails even in that case.

Thanks,
Srivatsan


----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2004-01-05 09:10

Message:
Logged In: YES 
user_id=175228

Accessing JMX over a remote channel as twiddle requires,
will only work with types that are serializable. Until the
JMX1.2 with remoting you are restricted to accessing
serializable attributes.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=860175&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to