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 Slowness/Connect Exceptions




On Oct 29, 2005, at 8:59 PM, Stuart Woolford wrote:

Hi everybody,
thanks so much for your suggestions. For now, Moises suggestion of setting java.rmi.server.hostname is working.

Huh, maybe I should of tried this and saved myself some effort. I did eventually get mine working without it though...


From the client app...

set app
app=CommandWrap.app
set rmi.*
set java.rmi.*
java.rmi.server.codebase=file://localhost%2FUsers%2Fmjh%2Fdevstuff% 2Fjava%2FCombined/ext/cmdline.jar


From the server app...

set app
app=ServerWrap.app
set rmi.*
set java.rmi.*
java.rmi.server.logCalls=true
java.rmi.server.codebase=file://localhost/Users/mjh/devstuff/java/ Combined/ext/cmdline.jar


It's a command line app where the set command echo's or sets system properties. I don't set the hostname property but as the different values show the client is getting both the servers and it's own results. (Different terminals actually but thats tougher to show in an email)
So it can be done without that property although that might be a time and effort saver.



Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative



_______________________________________________
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 Slowness/Connect Exceptions (From: Stuart Woolford <email@hidden>)
 >Re: RMI Slowness/Connect Exceptions (From: Moises Lejter <email@hidden>)
 >Re: RMI Slowness/Connect Exceptions (From: Michael Hall <email@hidden>)
 >Re: RMI Slowness/Connect Exceptions (From: Stuart Woolford <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.