Hi! I'm trying to lookup a EJB from a web module. There's no problem when I use 'Sun ONE Application server' as both ejb and web container. Now, I want to use Tomcat as web container. The code for the lookup looks like this: java.util.Properties env = new java.util.Properties(); env.setProperty("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory"); env.setProperty("java.naming.provider.url", "iiop://localhost:3700"); InitialContext ctx = new InitialContext(env); beanHome = ctx.lookup("ejb/TestEJB"); In the first case (only 'Sun ONE App. server) the call to ctx.lookup() returns a reference to the bean's home interface, but the same call from Tomcat returns a CORBA class (com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1). Can someone help me? Thanks in advance.