Bugs item #860175, was opened at 2003-12-15 12:05
Message generated for change (Comment added) made by srivatsanp
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: Srivatsan (srivatsanp)
Date: 2004-01-19 10:43
Message:
Logged In: YES
user_id=687037
I have already attached the zip containing the sar and
sources when submitting the bug.
The twiddle command is:
sh twiddle.sh invoke "jboss.test:service=TestXMBean" create
Thanks,
Srivatsan
----------------------------------------------------------------------
Comment By: Scott M Stark (starksm)
Date: 2004-01-15 18:35
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-06 10:22
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 22:40
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
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development