Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB create method problem under iPlanet AS with iiop  RSS feed

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!