I am running this code using weblogic server and deploytool
Properties p = new Properties();
p.put
(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFacto
ry");
p.put(Context.PROVIDER_URL,"t3://localhost:7001");
ic = new InitialContext(p);
o = ic.lookup("teller");
th = (TellerHome)PortableRemoteObject.narrow
(o,TellerHome.class);
But I get this exception message.
javax.naming.ConfigurationException. Root exception is
weblogic.rmi.server.ExportException: A description for
com.home.eapp.ejb.sessionbeans.teller.TellerBeanHomeImpl was found
but it could not be read due to: [Failed to find a stub for [class
com.home.eapp.ejb.sessionbeans.teller.TellerBeanHomeImpl] implements
at least one interface [interface
com.home.eapp.ejb.sessionbeans.teller.TellerHome] which extends
Remote.]
weblogic.rmi.StubNotFoundException: Failed to find a stub for [class
com.home.eapp.ejb.sessionbeans.teller.TellerBeanHomeImpl] implements
at least one interface [interface
com.home.eapp.ejb.sessionbeans.teller.TellerHome] which extends
Remote.
at weblogic.rmi.internal.DescriptorManager.resolveClass
(DescriptorManager.java, Compiled Code)
at weblogic.rmi.extensions.BasicDescriptor.<init>
(BasicDescriptor.java, Compiled Code)
at weblogic.rmi.extensions.BasicRuntimeDescriptor.<init>
(BasicRuntimeDescriptor.java, Compiled Code)
at weblogic.rmi.internal.DescriptorManager.resolveClass
(DescriptorManager.java, Compiled Code)
at weblogic.rmi.internal.DescriptorManager.getDescriptor
(DescriptorManager.java, Compiled Code)
Can anyone help please.