Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 39102 invoked from network); 13 Dec 2005 17:43:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 17:43:34 -0000 Received: (qmail 2816 invoked by uid 500); 13 Dec 2005 10:26:10 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 2776 invoked by uid 500); 13 Dec 2005 10:26:09 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 2761 invoked by uid 99); 13 Dec 2005 10:26:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 02:26:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [69.145.248.58] (HELO cluster1.bresnan.net) (69.145.248.58) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 02:26:07 -0800 Received: from [69.145.125.47] (HELO MSPARR) by fe-1.cluster1.bresnan.net (CommuniGate Pro SMTP 4.3.7) with ESMTP id 334508536 for commons-user@jakarta.apache.org; Tue, 13 Dec 2005 03:25:46 -0700 Reply-To: From: "Mike Sparr - www.goomzee.com" To: "'Jakarta Commons Users List'" Subject: RE: [SCXML] Concurrent users Date: Tue, 13 Dec 2005 03:25:17 -0700 Organization: GOOMZEE.COM Message-ID: <032c01c5ffcf$83f594b0$3daffea9@MSPARR> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <02f501c5ff9d$06fbc9c0$3daffea9@MSPARR> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Rahul, I think build may have broke due to dependency on XercesImpl, xml-apis, and possibly xalan jar dependencies. Your recent code change likely requires them now so you may update the dependencies and jars to your build.xml, plus the docs. Also, we noticed that the context vars return null within onentry and can only be retrieved during ontransition. I'm not sure if just our implementation or how it's built. Anyhow, just a little input from our findings. Rgds, Mike -----Original Message----- From: Mike Sparr - www.goomzee.com [mailto:mike@goomzee.com] Sent: Monday, December 12, 2005 9:24 PM To: 'Jakarta Commons Users List' Subject: [SCXML] Concurrent users Rahul, Your code worked (from your personal snapshot) fine - thanks. One issue we're now facing is handling concurrent users from multiple clients. My goal is to use one scxml doc to manage app flow for all users. It looks like there is one context and it's shared, so if we trigger an event, it will affect any user. We have created a HashMap (in memory) to store key/handle to client for sending response, but are having troubles dealing with concurrent users and their state. For example: Web request (state 1, event 3) IM request (state 2, event 1) Can the engine handle that or do you know how best to implement? My thought was to store state and last event per user, then navigate to that somehow for their requests. I assume there must be a better way? Thanks, Mike --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org