[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: IIOP stub compiler design problem
reverbel
do-not-reply at jboss.com
Sun Sep 9 19:26:40 EDT 2007
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#4082431
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082431
More information about the jboss-dev-forums
mailing list