[OR] Re: Interesting problem...

2005-03-18 Thread Dakota Jack
///;-) On Fri, 18 Mar 2005 13:22:01 -0500 (EST), Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I've wanted a nickname all my life (aside from the explicitives some would > use!)... never thought it's be Radar :) > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technol

Re: Interesting problem...

2005-03-18 Thread Rick Reumann
I posed your question to a colleague of mine, because this problem is way beyond my puny knowledge. Anyway, his response, for what it's worth: > My first instinct is to call this a Supremely Bad Idea. There WILL be conflicts. You can bet on it. Best to have a single "maintenance" process o

[MASSIVELY OT AT THIS POINT] Re: Interesting problem...

2005-03-18 Thread Frank W. Zammetti
On Fri, March 18, 2005 1:46 pm, Kris Schneider said: > Actually, I was thinking more along the lines of Radar's precog abilities. > So, > if you weren't aware the nick was coming, then it obviously doesn't fit > ;-). > Anyway, for better or worse, you've already got a namesake from the show. > All

Re: Interesting problem...

2005-03-18 Thread Kris Schneider
Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>: > On Fri, March 18, 2005 1:30 pm, Kris Schneider said: > > Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>: > > > >> I've wanted a nickname all my life (aside from the explicitives some > >> would > >> use!)... never thought it's be Radar :) > > > >

Re: Interesting problem...

2005-03-18 Thread Frank W. Zammetti
On Fri, March 18, 2005 1:30 pm, Kris Schneider said: > Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>: > >> I've wanted a nickname all my life (aside from the explicitives some >> would >> use!)... never thought it's be Radar :) > > Then it probably shouldn't be ;-) Oh no, I opened my mouth with

Re: Interesting problem...

2005-03-18 Thread Kris Schneider
Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>: > I've wanted a nickname all my life (aside from the explicitives some would > use!)... never thought it's be Radar :) Then it probably shouldn't be ;-) > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http

Re: Interesting problem...

2005-03-18 Thread Frank W. Zammetti
I've wanted a nickname all my life (aside from the explicitives some would use!)... never thought it's be Radar :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Fri, March 18, 2005 1:09 pm, Dakota Jack said: > The class works, but I don'

Re: Interesting problem...

2005-03-18 Thread Dakota Jack
The class works, but I don't think it is what you want. Maybe it is. Just don't have high expectations. I did and was disappointed. Just trying to help you out, Radar! ///;-) Jack On Fri, 18 Mar 2005 12:21:28 -0500 (EST), Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Why do you think it wo

Re: Interesting problem...

2005-03-18 Thread Frank W. Zammetti
Commons ID has been in the sandbox for a year already? Ugh, someone get a release out! :) I think the solution I used is going to suffice nicely. I mean, in a cluster each machine still has a unique IP address anyway, so that in and of itself would have been enough. But, adding in the VMID and

Re: Interesting problem...

2005-03-18 Thread Martin Wegner
Frank, I was a little hinky myself about using Common ID in production. But I've been using it or over a year and it has performed admirably. We haven't seen any problems with the package. As for getting the MAC address I had to solve that problem about six months ago. I had to resort to Runti

Re: Interesting problem...

2005-03-18 Thread Frank W. Zammetti
In the interest of giving back, here's what I wound up doing: import java.net.InetAddress; import java.rmi.dgc.VMID; import java.util.GregorianCalendar; int vmidHash = new VMID().hashCode(); long currentTime = new GregorianCalendar().getTimeInMillis(); int ipHash = InetAddress.getLocalHost().hashC

Re: Interesting problem...

2005-03-18 Thread Frank W. Zammetti
Why do you think it wouldn't work? Does it sometimes return incorrect information in some setups? I thought of doing some kind of mini-browser-type thing, but before I go down that road I wanted to explore some simpler solutions. The Commons ID thing is very nice, but I'm not so sure I'm comfort

Re: Interesting problem...

2005-03-18 Thread Dakota Jack
InetAddress might not get the answer for you, Frank. I don't know what your setup is, but you can go to any ip address service outside your system and get a unique return address for your machines with a mini-browser. Jack On Fri, 18 Mar 2005 11:36:10 -0500 (EST), Frank W. Zammetti <[EMAIL PROT

Re: Interesting problem...

2005-03-18 Thread Frank W. Zammetti
Oh, that is sweet! I was totally unaware of that. Thanks Martin! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Fri, March 18, 2005 11:52 am, Martin Wegner said: > > You can also use the Jakarta Commons ID packageto generate a GUID whic

Re: Interesting problem...

2005-03-18 Thread Martin Wegner
You can also use the Jakarta Commons ID packageto generate a GUID which is guaranteed to be unique in the universe. You could then convert the GUID to your seed. --- Kris Schneider <[EMAIL PROTECTED]> wrote: > Will InetAddress.getLocalHost() work for you? > NetworkInterface.getNetworkInterface

Re: Interesting problem...

2005-03-18 Thread Frank W. Zammetti
Yes, I think InetAddress just might do the trick. Thank you Kris! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Fri, March 18, 2005 11:24 am, Kris Schneider said: > Will InetAddress.getLocalHost() work for you? > NetworkInterface.getNet

Re: Interesting problem...

2005-03-18 Thread Kris Schneider
Will InetAddress.getLocalHost() work for you? NetworkInterface.getNetworkInterfaces() might also be of interest. Or, you might want to create yourself an instance of java.rmi.dgc.VMID... Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>: > Oh boy, I got a good one! It's only related to Struts in t