As I understand the requirement of uniqueness, it only needs to be
unique amongst all tm instances running on the same box. I'm not sure
that requirement is satisfied by the existing default
localhost:anonymous-port logic when it comes to a machine with multiple
RHEVM vm's for example, so we really need to define what the uniqueness
requirement is in that context.
On 5/13/11 10:07 AM, Michael Musgrove wrote:
https://issues.jboss.org/browse/JBAS-9373 talks about using java
uuids.
Looking at the documentation java.util.UUID generates Version 4 UUIDs. I
did a web search and I found this quotation:
"Version 4 UUIDs are not guaranteed to be globally unique, because they
are generated out of locally gathered pseudo-random numbers only"
We need to be able to guarantee uniqueness.
Mike