Yes, the client stub for the EJB is being built on the fly by the IIOPStubCompiler.
However, that stub should also use the default ORB instance in the AS.
Are you using the JNDI context factory that avoids the creation of other ORB instances? If
your jndi.properties file (the one in the conf dir of the AS) has a line
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
replace that line with
java.naming.factory.initial=org.jboss.iiop.naming.ORBInitialContextFactory
You can disable the usage of dynamically generated stubs by putting rmic-generated stubs
in the client classpath. This should not be necessary, though. Everything is supposed to
work with the dynamic IIOP stubs.
Regards,
Francisco
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082431#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...