[jboss-dev-forums] [Design of POJO Server] - Serilizability of aop proxy
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Nov 15 01:14:13 EST 2006
When I tried the JndiBinding in the server where the naming service serializes the entries, its failing because the wrapping aop container proxy is not:
| Caused by: java.io.NotSerializableException: AOPContainerProxy$0
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
|
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
| at java.rmi.MarshalledObject.<init>(MarshalledObject.java:92)
| at org.jnp.interfaces.MarshalledValuePair.<init>(MarshalledValuePair.jav
| a:65)
| at org.jnp.interfaces.NamingContext.bind(NamingContext.java:562)
| ... 76 more
|
I updated the org.jboss.test.microcontainer.test.JndiLifeCycleTestCase to serialize the bindngs, and although its not failing with this error, its not unserializing the bean correctly. Is the proxy expected to reproduce the underlying object behavior with regard to serialization?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986024#3986024
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986024
More information about the jboss-dev-forums
mailing list