• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB create method problem under iPlanet AS with iiop

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic