Return-Path: Delivered-To: apmail-jakarta-turbine-user-archive@www.apache.org Received: (qmail 49394 invoked from network); 27 Nov 2006 19:55:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 19:55:31 -0000 Received: (qmail 2467 invoked by uid 500); 27 Nov 2006 19:55:40 -0000 Delivered-To: apmail-jakarta-turbine-user-archive@jakarta.apache.org Received: (qmail 2339 invoked by uid 500); 27 Nov 2006 19:55:39 -0000 Mailing-List: contact turbine-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Turbine Users List" Reply-To: "Turbine Users List" Delivered-To: mailing list turbine-user@jakarta.apache.org Received: (qmail 2328 invoked by uid 99); 27 Nov 2006 19:55:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 11:55:39 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ross_sheldon@hotmail.com designates 65.54.246.230 as permitted sender) Received: from [65.54.246.230] (HELO bay0-omc3-s30.bay0.hotmail.com) (65.54.246.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 11:55:25 -0800 Received: from hotmail.com ([65.54.224.45]) by bay0-omc3-s30.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 27 Nov 2006 11:55:05 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 27 Nov 2006 11:55:04 -0800 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Mon, 27 Nov 2006 19:55:00 GMT X-Originating-IP: [64.25.135.3] X-Originating-Email: [ross_sheldon@hotmail.com] X-Sender: ross_sheldon@hotmail.com In-Reply-To: <456B3FD5.3050503@apache.org> From: "Sheldon Ross" To: turbine-user@jakarta.apache.org Subject: Re: Synchronized Velocity Actions Date: Mon, 27 Nov 2006 19:55:00 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 27 Nov 2006 19:55:04.0773 (UTC) FILETIME=[EE9ACF50:01C7125D] X-Virus-Checked: Checked by ClamAV on apache.org Let's see, there exists session persistent objects that we need to protect, ie preventing a user from performing an action that will change the contents of that object while another of his own method calls is using that object. But these objects are only session specific, another user has his own session object. ex turbineresources line: tool.session.obj = src.dataobjs.sessionobj Therefore from what I understand, each user should be able to run there own methods at the same time as they do not reference any of the same objects. Unfortunately this is not happening. I was curious as to if anyone knew why this was. The only thing I can think of, is that somehow there is something in the RunData object, or the Velocity Context that is the same between both sessions. This would prevent the methods from being able to run at the same time. >From: Thomas Vandahl >Reply-To: "Turbine Users List" >To: Turbine Users List >Subject: Re: Synchronized Velocity Actions >Date: Mon, 27 Nov 2006 20:43:17 +0100 > >Sheldon Ross wrote: > > Hello, > > I am currently working on the development of a large Turbine based > > project that involves a large number of database queries. The problem I > > am experiencing relates to the synchronizing of doPerform methods under > > VelocityAction. > >Actually, I'm afraid I don't understand the issue. What happens in your >action that a synchronization is needed? In general, it is not a good >idea to synchronize things, especially when running a web application. >So would you please give me some insight? > >Bye, Thomas. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: turbine-user-help@jakarta.apache.org > _________________________________________________________________ Get FREE company branded e-mail accounts and business Web site from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-user-help@jakarta.apache.org