Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

ConfigurationException

  Asked By: Lewis    Date: May 07    Category: Java    Views: 457
  

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.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on ConfigurationException Or get search suggestion and latest updates.

Related Topics:




 

Related Post