|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
UUID |
« View previous topic :: View next topic » |
Author |
Message
|
knightman |
Posted: Thu Jun 24, 2004 10:29 am Post subject: UUID |
|
|
 Newbie
Joined: 24 Jun 2004 Posts: 1
|
hey folks,
How unique exactly is the UUIDASCHAR?the documentation states its a "miscellaneous function".Does this translate to a random id generator or is it a function that makes use of some data like a timestamp and so on to generate the number??  |
|
Back to top |
|
 |
kirani |
Posted: Thu Jun 24, 2004 10:52 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Well, UUID is always unique, so these functions will always generate a unique identifier. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
fazz |
Posted: Tue Jun 29, 2004 9:49 am Post subject: |
|
|
 Centurion
Joined: 20 Feb 2004 Posts: 144 Location: England
|
UUID stands for 'Universally Unqiue Identifier', so its universally unique !! |
|
Back to top |
|
 |
mq_guru |
Posted: Tue Jun 29, 2004 10:32 am Post subject: |
|
|
Novice
Joined: 23 Feb 2004 Posts: 13
|
I think, this UUID is created based on your local system/network parameters and otherthings like timestamp etc. So, its unique across the usage.
-vivek |
|
Back to top |
|
 |
muralihegde |
Posted: Wed Jun 30, 2004 1:06 am Post subject: |
|
|
Centurion
Joined: 30 Apr 2002 Posts: 108
|
Yes Thats correct.
And we have an interesting problem as well. I beleive the broker uses the hostname as part of this UUID.
Our broker runs on mainframe. OS/390. WMQI V2.1
Sometimes after the IPL (reboot of OS) of the LPAR, the broker starts throwing an exception unable to create UUID.
We found out that exactly at this time, if we use a test java program to which tries to get the Host Name from the system using
java.net.InetAddress.getLocalHost().getHostName())
we get an exception !
However the unix command hostname on the command prompt on the omvs returns the hostname.
The /etc/hosts file always has the entry for the hostname
The solution to this is recycle the tcp ip subsystem !
And this solves both the problem, the broker does not throw any exception and the test java pgm also returns the hostname.
The question ?
Why is tcp ip recycling is needed?
Why the broker does not recognise the value from /etc/hosts?
Any thoughts on this will be greatly helpful to us..
-Murali |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|