Recent classloader changes break remote server
----------------------------------------------
Key: OPENEJB-68
URL: http://jira.codehaus.org/browse/OPENEJB-68
Project: OpenEJB
Type: Bug
Versions: 1.0 beta 1
Reporter: David Blevins
Fix For: 1.0
When we changed the classloading structure in the 1.0-beta1 we put the EJB's
out of reach of the EjbRequestHandler that deserializes remote calls coming
into the system. The EjbRequestHandler needs to grab the classloader for the
Deployment making the call and continue deserializin.
The trickiest part of the whole thing is you dont know what classloader to use
till you've read the deploymentId from the stream then you have to hold on, go
grab that deployment instance, grab it's classloader, set it on the
EJBObjectInputStream then finish deserializing (i.e. read off the arguments and
method and stuff). You can't deserialize everything till you know what
classloader to use.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira