The Artima Developer Community
Sponsored Link

Jini Forum
Jini works under a zeroconf network

1 reply on 1 page. Most recent reply: Apr 13, 2004 10:47 AM by Gregg Wonderly

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Lei Huang

Posts: 3
Nickname: zerojini
Registered: Mar, 2004

Jini works under a zeroconf network Posted: Mar 21, 2004 7:45 PM
Reply to this message Reply
Advertisement
Does anyone try a Jini program under a zeroconf network?
If I run Reggie, HTTP server, service and client in one PC which meets requirements of zero configuration network, the Jini program works fine except a little bit slowly.

However, when the client is running on a different PC (reggie, http and server are still running on one PC), I met a name resolution problem.

client has been waiting to locate reggie server and finally time out error occured.


Gregg Wonderly

Posts: 317
Nickname: greggwon
Registered: Apr, 2003

Re: Jini works under a zeroconf network Posted: Apr 13, 2004 10:47 AM
Reply to this message Reply
> Does anyone try a Jini program under a zeroconf network?
> If I run Reggie, HTTP server, service and client in one PC
> which meets requirements of zero configuration network,
> the Jini program works fine except a little bit slowly.

The Java security policy provider will use reverse DNS to locate the name associated with any IP address it considers for security validation. These lookups will slow things down.

To find out more about what parts of the system are running when you perceive things as slow, use the CTRL-\ (on UN*X OSes such as Linux/Solaris) or CTRL-BREAK (on windows) in the window the JVM is running. This will provide a nice thread dump so that you can see which threads are stuck at which places.

In the case of reverse DNS, the only solution is to either populate the /etc/hosts (or /windows/system32/drivers/etc/hosts) file with names and addresses, or run a DNS server that works for your isolated network.

zeroconf is great right up to the point that software is expecting hostnames...

Flat View: This topic has 1 reply on 1 page
Topic: Jini As a WebService Previous Topic   Next Topic Topic: BILLING SYTEM ADVISE IS NEEDED

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use