RE: FW: SmartFrog Question
"Goldsack, Patrick" <[email protected]>
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Message-ID | <D46BE408DE18F841B90DEFA8CAA2CDB2417BFC@sdcexcea01.emea.cpqcorp.net> |
Hi Bithika, In a little more detail - if you are using the sfStart command, as in sfStart host name desscription or some equivalent, the name has to be unique on the node selected. If not, you get the non-replaceable attribute exception; the reference to the application is held as an attribute in the host's ProcessCompound component (the daemon, if you wish) - and attributes (in any component) that refer to running components may not be remapped to other values by simply doing a replacement command (to stop accidentally losing contact with applications). When your application terminates, the attribute is removed from the ProcessCompound - so you can reuse the name again. Its one of those "signature" exceptions where the excpetion message is not particularly useful in itself, but those who know the system instantly recognize the cause. Patrick -----Original Message----- From: smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Guijarro, Julio Sent: 11 October 2004 13:41 To: smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Cc: [email protected] Subject: [Smartfrog-support] FW: SmartFrog Question Hi Bithika, I am not sure about what you mean with "process_name". I guess that you mean the name used to start a SmartFrog description file. This name is the name that will be used to register the new application/system into the SmartFrog daemon and it has to be unique. When you try to deploy two descriptions with the same name the daemon will fail reporting that the name is already used. In you case, what is possibly happening is that after a while the deployed description terminates completely and cleans up, and that is why you can deploy the same description with the same name again without any problem. Which example or description file were you using? Regards, Julio PS: Please, for support send your messages to: smartfrog-support-5NWGOfrQmneRv+LV9MX5uti2KpX7p8Fi@public.gmane.org In this way your have better chances of getting a fast response because of the number of people subscribed to the list. ________________________________ From: Khargharia, Bithika [mailto:[email protected]] Sent: 09 October 2004 04:11 To: Subject: SmartFrog Question Hi, I am facing the following problem while executing a SmartFrog description file (that comes with your distribution package). "Compound has a non-replacable attribute <process_name>". However if I execute the same file with a different process name it works fine. Also, if I execute the file with the same process name after a while, it works fine. I fail to understand the reason. Any help would be appreciated. Bithika