wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes EJB create method problem under iPlanet AS with iiop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB create method problem under iPlanet AS with iiop" Watch "EJB create method problem under iPlanet AS with iiop" New topic
Author

EJB create method problem under iPlanet AS with iiop

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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.
 
Consider Paul's rocket mass heater.
 
subject: EJB create method problem under iPlanet AS with iiop
 
Similar Threads
Calling a EJB in a different Websphere instance
Calling EJB from Java client
UnsatisfiedLinkError Applet --> EJB
Look up problem in WAS5.0
Calling EJB from Java client