Issue Details (XML | Word | Printable)

Key: OPENEJB-68
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Blevins
Reporter: David Blevins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB

Recent classloader changes break remote server

Created: 21/Sep/05 11:27 AM   Updated: 16/Feb/06 02:55 PM  Due: 25/Sep/06
Component/s: None
Affects Version/s: 1.0 beta 1
Fix Version/s: 1.0

Time Tracking:
Not Specified

Resolution Date: 25/Sep/06 12:14 AM
Labels:


 Description  « Hide
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.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Blevins added a comment - 16/Feb/06 02:55 PM
This should be fixed.