9 Replies Latest reply on Sep 19, 2007 8:59 AM by Jonathan Halliday

    IIOP stub compiler design problem

    Jonathan Halliday Master

      Francisco or anyone else who had a hand in the IIOP framework for JBossAS 4.0.5:

      I'm deploying an EJB (v2 vintage) into JBossAS 4.0.5 and trying to access it from another EJB, using RMI/IIOP. It works fine until I need transaction propagation on the call. I've plugged in ArjunaJTS, which registers interceptors with the AS's default ORB instance to handle the transaction context propagation. On most calls these work fine.

      However, for calls to the EJB, a different ORB is used and it does not have the interceptors registered on it. As far as I can tell, the client stub for the EJB is being built on the fly by the IIOPStubCompiler. How does it determine the ORB to use and how do I force it to use the same one as the rest of AS i.e. the one with the interceptors configured on it?