This is exactly the kind of complication that makes "getting started" pretty painful. Many people would find this to be so odd that they would not even ask for help believing that the software had been compiled with a private network or that something else was broken in river.
We've answered exactly this question with exactly this solution many times as I recall. The fact that "security" requires "addresses" to be "correct" is one of the no-start issues that will be very prevalent. I believe that we should have the TCP endpoint costructor do a lookup of localhost and if it is not 127.0.0.1, log a message, and potentially throw an IOException, demanding it be fixed. Gregg Wonderly On Jan 12, 2011, at 12:25 PM, helcio silva wrote: > PROBLEM SOLVED. > > My apologies to everybody! > > The 'hosts' file on my machine did contained an statement making > 'localhost' be equivalent to that weird address. I just fixed it, and > the exception now disappeared. > > My apologies, again. Have a nice day!!! > > Helcio Wagner. > > 2011/1/12 Dennis Reedy <[email protected]>: >> Okay, so lets start there :) Do you have a multi-homed machine? Whats your >> operating system? >> >> On Jan 12, 2011, at 107PM, helcio silva wrote: >> >>> That's weird... >>> >>> In fact, my IP address (eth0) is NOT 127.17.3.161. I don't know who >>> is that address. I did not specify it anywhere... >>> >>> Helcio. >>> >>> 2011/1/12 Dennis Reedy <[email protected]>: >>>> >>>> On Jan 12, 2011, at 1015AM, helcio silva wrote: >>>>> >>>>> private static fiddler_codebase = >>>>> "http://127.0.0.1:8080/fiddler-dl.jar + " >>>>> http://127.0.0.1:8080/jsk-dl.jar"; >>>>> >>>>> private static mahalo_codebase = "http://127.0.0.1:8080/mahalo-dl.jar >>>>> + " http://127.0.0.1:8080/jsk-dl.jar"; >>>>> >>>>> private static mercury_codebase = >>>>> "http://127.0.0.1:8080/mercury-dl.jar + " >>>>> http://127.0.0.1:8080/jsk-dl.jar"; >>>>> >>>>> private static norm_codebase = "http://127.0.0.1:8080/norm-dl.jar" + " >>>>> http://127.0.0.1:8080/jsk-dl.jar"; >>>>> >>>>> private static outrigger_codebase = >>>>> "http://127.0.0.1:8080/outrigger-dl.jar" + " >>>>> http://127.0.0.1:8080/jsk-dl.jar"; >>>>> >>>>> private static reggie_codebase = "http://127.0.0.1:8080/reggie-dl.jar >>>>> + " http://127.0.0.1:8080/jsk-dl.jar"; >>>>> >>>> >>>> [snip] >>>> >>>>> x) the exception thown by servicestarter when I try to start it: >>>>> >>>>> 12/01/2011 11:58:54 net.jini.lookup.JoinManager$ProxyReg fail >>>>> INFO: JoinManager - failure >>>>> java.security.AccessControlException: access denied >>>>> (java.net.SocketPermission 127.17.3.161:39194 connect,resolve) >>>>> at >>>>> java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) >>>>> at >>>>> java.security.AccessController.checkPermission(AccessController.java:546) >>>>> at >>>>> java.lang.SecurityManager.checkPermission(SecurityManager.java:532) >>>>> at >>>>> java.lang.SecurityManager.checkConnect(SecurityManager.java:1034) >>>> >>>> Humm ... you have the codebase for each of the services set to 127.0.0.1 >>>> (localhost), yet the ClassServer is serving on 127.17.3.161. Can you use >>>> the same address for all? >>>> >>>> >> >>
