Hi
I have written a simple program on
ejb 3.0
Remote Interface
Bean class
jar file name I created is
stateless_example.jar
Client program
I am getting following exception
Exception in
thread "main" javax.naming.NameNotFoundException: While trying to lookup 'stateless_example.CalculatorBean/remote' didn't find subcontext 'stateless_example'. Resolved '' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'stateless_example.CalculatorBean/remote' didn't find subcontext 'stateless_example'. Resolved '']; remaining name 'stateless_example/CalculatorBean/remote'
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
at javax.naming.InitialContext.lookup(Unknown Source)
at stateless.client.Client.main(Client.java:41)
Any suggestions where it is wrong...
Regards
Bhaskar