[jboss-dev-forums] [Design of JBoss Transaction Services] - IIOP stub compiler design problem

jhalliday do-not-reply at jboss.com
Sat Sep 8 17:32:38 EDT 2007


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?

Thanks

Jonathan.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082360#4082360

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082360



More information about the jboss-dev-forums mailing list