Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RMI headaches



Your error is in the call to rebind() - so the most likely cause is that rmiregistry cannot find your classes.
Easiest thing to do to test would be to start rmiregistry in the same folder, or classpath, that your client and server application will use.


Slightly more complicated is to set a property java.rmi.server.codebase to the URL to the jar file that contains your code - which could just be a file:// URL if the code is available on an available file system.

Moises

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >RMI, old Sockets, new Channels? Help!!! (From: "Todd O'Bryan" <email@hidden>)
 >Re: RMI, old Sockets, new Channels? Help!!! (From: Joseph Dane <email@hidden>)
 >RMI headaches (From: "Todd O'Bryan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.