Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-68

Recent classloader changes break remote server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0 beta 1
    • 1.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: