The Artima Developer Community
Sponsored Link

Legacy Jini Forum
The Jini Lookup Service

Advertisement

Advertisement

This page contains an archived post to the Jini Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Solution to SocketException that worked for me

Posted by Barry Kleinman on December 10, 2001 at 4:50 PM

I got this same problem on NT w/SP6:
> java.net.SocketException: Connection reset by peer:JVM_recv in socket input stream read
> Unable to invoke by reflection, the method: com.sun.jini.reggie.CreateLookup.create.

I started getting this message after first getting an access error and then fixing the error in my policy file. (You have to edit the default policy.reggie file provided in the jini1_1/policy directory to specify the paths particular to your system.)

I got the solution from another posting in this mailgroup. The solution is to stop the rmid service. Delete the rmid log directory (VERY IMPORTANT). Delete any reggie log directory. Restart the rmid service. Then you should be able to start reggie, assuming you've fixed any other issues. If the reggie command returns after a few seconds with no output, then it started successfully.

I think the error message is caused by rmid trying to restart a reggie service that quit in a bad state. Deleting the log directories lets rmid start a "fresh" instance of reggie.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us