I am using weblogic 7.0 and i am making an local call on ejb using a client in the same environment.I am getting this exception while lookup. Is there anything i missed in client program/ejb descriptors/weblogic descriptors. javax.naming.NameNotFoundException: Unable to resolve 'HelloLocalHome' Resolved: '' Unresolved:'HelloLocalHome' ; remaining name 'HelloLocalHome' at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229) at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333) at javax.naming.InitialContext.lookup(Unknown Source) at examples.HelloClients.main(HelloClients.java:37)
Lasse, Can you please throw more light into it. Am I supposed to call this from servlet/EJB only (I will chnage name to comply with the 'Ranch naming policy) Thanks, poonks
Thanks Lasse, Actually we am planning to call Local interface one EJB from another EJB in same M/c.So initially i am trying out how to call local interface.Can you please clarify me Instead of a standalone call can i do the same call from another EJB. Thanks in advance poonks