On Tue, Jun 26, 2001 at 03:55:07PM -0400, Jim Archer wrote:
> Or, you could use the facility provided by java. Check out 
> java.rmi.server.UID. This class makes an ID guaranteed unique for the 
> current VM. To use it in a clustered environmant, just prepend an IP 
> address (as explained int he javadoc).

Is use a similiar approach with a home made GUID generator. My problem
with the IP address is that InetAddress.getLocalHost() alway returns
127.0.01 on my linux systems! I see no other way to get to the local
interfaces ip addresses.

-billy.

-- 
Philipp Meier                              o-matic GmbH
Geschäftsführer                  Pfarrer-Weiß-Weg 16-18
Tel.: +49-(0)700-66284236                     89077 Ulm

PGP signature

Reply via email to