This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
EJB create method problem under iPlanet AS with iiop
posted 13 years ago
Hello, on my iPlanet Application Server 6.3 under Win2000, I have this error when I get a EJB object with his HomeObject. "java.lang.NoClassDefFoundError : com/sun/corba/ee/internal/POA/POAORB" //I get home object under iiop : Hastable props = new Hashtable(); props.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory"); props.put("java.naming.provider.url", "iiop://myserver:9010"); InitialContext jndiCtx = new InitialContext(props); Object lookup = jndiCtx.lookup("java:comp/env/ejb/MyEjb"); //the lookup is here System.out.println("Home downloaded : " + lookup.getClass().getName()); MyEJBHome home = (MyEJBHome) javax.rmi.PortableRemoteObject.narrow(lookup, MyEJBHome.class); //And the EJB stub come here without problem... //but when I do... MyEJB remoteEjb = home.create(); // there is the error : "java.lang.NoClassDefFoundError : com/sun/corba/ee/internal/POA/POAORB" Anyone has an idee where come from problem ? The iPlanet Application Server is use with iPlanet Directory Server LDAP. Thanks for your help.