You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Kumar, Kiran" <kk...@kheaa.com> on 2005/04/19 20:14:49 UTC
RE:Synchronizing Cocoon Action
how can we restrict a user from accesing cocoon action multiple times (
prevent multithreading ).
can we use synchronization?
the problem is , this action is building an XML DOM object. (and can be
accessed by clicking on a link. In this scenario, he is clicking on the link
multiple times with no time gap)
I've synchronized the creation of DOM obj using DCL Idiom, but I am creating
a new Root element
for each thread. when I try to add the root element say of the 5th thread
to the document , I am getting a WRONG_DOCUMENT_ERROR.
I am glad to give you more information.
thanks
Kiran Kumar (Raj)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org