• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Run Two Jini Lookup Services on Same Computer For Testing?

 
Robert Paris
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to run two different lookup services on the same computer. But here's the thing:
1. I do not want them to find each other UNLESS I explicitly ask them to (i.e. Unicast)
I know this is a problem because the LookupServices all do multicast discovery and discover the "near" services. How do I start two diff. lookup services and ensure they won't find each other?
2. I want to start services on each lookup, but make sure it's unicast discovery for the services (normally i wouldn't do unicast, but I want to be sure Service A is only on Lookup A, and Service B only on Lookup B)
Thanks!
(Oh, I know that jini addresses ignore all "sub-folders" of an address, so it's impossible to map a jini lookup service to jini://1.1.1.1/Jini, it would treat this as jini://1.1.1.1 what does this mean for doing lookups on the same IP with diff. ports? Does it treat them as the same? - I'm assuming no)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic