Need urgent help on RMI- NoSuchObject exception

This is the place for general discussion of the RMI plugin for Eclipse and support questions

Need urgent help on RMI- NoSuchObject exception

Postby navneet_yadav » Wed Nov 25, 2009 10:43 am

Hi friends,

I have a RMI application which multiple clients invoke server methods remotely. The server is running on Unix. The application runs fine normally. But sometimes the users get an exception "java.rmi.NoSuchObjectException: no such object in table". This error is fixed when i restart the server.

Previously we used to get his problem once in a month but now its more frequent of course creating a lot of problems at times.

Is there any way to fix this problem. Also is there any way to stimulate this exception by an example???

Thanks in advance

Please help :x :x :x :x :x
navneet_yadav
 
Posts: 1
Joined: Wed Nov 25, 2009 10:27 am

Re: Need urgent help on RMI- NoSuchObject exception

Postby genady » Fri Nov 27, 2009 8:57 pm

Hi,

It is very difficult to diagnose it from this error message, but it seems that the remote object is being removed from the registry, or you're trying to access the object in the wrong registry or with the wrong key.

Can you provide a simple scenario when it happens? Do you have a firewall between the client, the server and the registry machines?

Are you able to run the examples?

Genady
genady
Site Admin
 
Posts: 397
Joined: Sat Aug 16, 2003 5:15 pm


Return to General discussion and support

Who is online

Users browsing this forum: No registered users and 3 guests

cron