Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.naming.NamingException: Lookup failed:

 
Jun Chen
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all.
I was trying to use my first deployed? entity bean. However I got the following error message:
C:\Blazix>java EntityClientSample put name myname
javax.naming.NamingException: Lookup failed: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Software caused connection abort: recv failed at desisoft.ejb.client.EjbClientContext.lookup(EjbClientContext.java:81)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at EntityClientSample.main(EntityClientSample.java:
Is this means my ejb bean was never deployed? The reason why I was wonder was when I try to deploy the bean I got the following exception:
Deploying EJB-Home class "props.PropsHome" at JNDI name "Props"
Evaluation license
java.rmi.ServerException: Server RemoteException; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: desisoft.ejb.server.EjbServerJRMP_Stub
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at desisoft.ejb.server.EjbServerJRMP.serverMain(EjbServerJRMP.java:329)
at desisoft.ejb.server.EjbServer.main(EjbServer.java:803)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: desisoft.ejb.server.EjbServerJRMP_Stub
Caused by: java.lang.ClassNotFoundException: desisoft.ejb.server.EjbServerJRMP_Stub
Can somebody help me out? Thank you in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic