[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ClassLoader isolation issue with ObjectMessage
clebert.suconic@jboss.com
do-not-reply at jboss.com
Tue Jan 8 13:50:37 EST 2008
We already talked about this privately... so this is just to complete the thread.
Jeff pointed me that he was de-serializing when the message was received, instead of when the user/testcase called getObject on the ObjectMessage, what caused StreamUtils to use the wrong classLoader (passed by Thread.currentContextClassLoader()).
After Jeff used Lazy serialization the test was fixed.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118029#4118029
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118029
More information about the jboss-dev-forums
mailing list