[opencms-dev] more barriers to running in a cluster

Joachim Arrasz info at arrasz.de
Tue Sep 6 17:06:31 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

| UUID generation service is tied to a single MAC address across the
| cluster.  This would be fine if there was a central authority in the
| cluster for generating UUIDs (to synchronize the time component of the
| UUID); otherwise, collisions are possible.

You can achieve this if you use the HASIngletonService on the Opencms
Class...

| Perhaps also creating an I_CmsUUIDGenerator service, one implementation
| of which calls a centralized EJB, would be appropriate?

here i would use a MBean for such a service.

hth

Achim

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDHbB35IGnahDQXAcRAkb9AKDhX1xXl7Qb6Eap+taGK4GMECI62QCeIvD5
jcyhK5vFV/PCkWnJoRCyeZs=
=rCKx
-----END PGP SIGNATURE-----



More information about the opencms-dev mailing list