File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes javax.naming.NamingException: Lookup failed: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "javax.naming.NamingException: Lookup failed:" Watch "javax.naming.NamingException: Lookup failed:" New topic
Author

javax.naming.NamingException: Lookup failed:

Jun Chen
Greenhorn

Joined: Feb 23, 2004
Posts: 9
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
 
subject: javax.naming.NamingException: Lookup failed: