[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: IIOP stub compiler design problem
adrian@jboss.org
do-not-reply at jboss.com
Fri Sep 14 08:11:56 EDT 2007
If you are using a corbaname or corbaloc url, the initial context is only relevant
for determining the ORB to use. JRMP is not used for those urls,
it should be using RMI/IIOP via the ORB.
If you don't set the ORB in the initial context explicitly, the JDK will create its own ORB
(on every lookup!) which you haven't configured with your portable interceptor. :-)
See:
http://java.sun.com/j2se/1.3/docs/guide/jndi/jndi-cos.html#ORB
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084412#4084412
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084412
More information about the jboss-dev-forums
mailing list