>
|> This code is in org.jboss.ejb.plugins.iiop.server.IIOPContainerInvoker,
|> under contrib/iiop. Insertion/extraction of the PK is done through the
|> methods toByteArray() and toObject(). Each of these methods has two

professor,

rereading this, if you set the context classloader correctly then the
MarshalledObject works from these guys hence no problem.  the toByteArray()
and toObject() needs to work with the context class loader.

So
1- make sure the context cl is set properly (system.out its hash when you
enter the method), make sure it is the hash of the cl that created the
container (compare to the cl printouts)

2- make sure your code uses the context cl when deserializing, it seems that
the cl that is asked for the application is the system cl and that indicates
that the io deserialization is asking the cl that loaded the system class
(the container invoker in this case).

marcf

|> implementations, one of them commented out. The commented out
|> implementation "solves" the problem in the way described above.
|>
|> Suggestions are very welcome!
|>
|> Cheers,
|>
|> Francisco
|>
|>
|>
|>
|>
|>
|>
|>
|> _______________________________________________
|> Jboss-development mailing list
|> [EMAIL PROTECTED]
|> https://lists.sourceforge.net/lists/listinfo/jboss-development
|>
|>
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to