Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 37549 invoked from network); 4 Feb 2008 15:31:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 15:31:06 -0000 Received: (qmail 37591 invoked by uid 500); 4 Feb 2008 15:30:58 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 37346 invoked by uid 500); 4 Feb 2008 15:30:57 -0000 Mailing-List: contact tuscany-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-dev@ws.apache.org Received: (qmail 37337 invoked by uid 99); 4 Feb 2008 15:30:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 07:30:57 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simonslaws@googlemail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 15:30:26 +0000 Received: by wa-out-1112.google.com with SMTP id k22so3212196waf.18 for ; Mon, 04 Feb 2008 07:30:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=4lnQ8vrgJ3+ysDxk6CzIpN0t92WOD0Cpq9/gFZUzQFg=; b=JW/t+LGfTd13eHqb+1o7avVRrbaBwAFdT6IIbaMtqtbYJSlhgfEk0YI+lWmEcEbeBntX8JGvAxCgKKe3wJAUwxPuvXODYSocdq3ns4VpiRMcnUHlyiUpUfPBb154mehScvpF7ohMsN134vlyJaSfXB9DOGtdjbx3c4HlZyYFwwU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Od9Ohcf5SFg1C16G8p5p5RbxUM3ePEr/nE9mhS1rcOmwd8sIaGQCVIhVfTEN+4AEKG/4i/IN4JVMswEfv2Hykf/4mCmBDmmMOdp/Eou98+n/78ISYW81/Uekv6TkfkqOpfvHO8h9as/Vjv1XhI71A+5fPu+tNyrEe5cQiEiyskE= Received: by 10.114.14.1 with SMTP id 1mr7055789wan.9.1202139033543; Mon, 04 Feb 2008 07:30:33 -0800 (PST) Received: by 10.114.12.14 with HTTP; Mon, 4 Feb 2008 07:30:33 -0800 (PST) Message-ID: Date: Mon, 4 Feb 2008 15:30:33 +0000 From: "Simon Laws" To: tuscany-dev@ws.apache.org Subject: Re: [jira] Commented: (TUSCANY-1999) ConversationAttributes and expiry doesn't work with Stateless Conversational components In-Reply-To: <30222713.1202127907747.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7552_30962593.1202139033549" References: <23379481.1200569073826.JavaMail.jira@brutus> <30222713.1202127907747.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7552_30962593.1202139033549 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Feb 4, 2008 12:25 PM, Thomas Greenwood (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/TUSCANY-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565331#action_12565331] > > Thomas Greenwood commented on TUSCANY-1999: > ------------------------------------------- > > BTW I'd like the patch committed if possible since that's what we're > currently working with. > > > ConversationAttributes and expiry doesn't work with Stateless > Conversational components > > > --------------------------------------------------------------------------------------- > > > > Key: TUSCANY-1999 > > URL: https://issues.apache.org/jira/browse/TUSCANY-1999 > > Project: Tuscany > > Issue Type: Bug > > Components: Java SCA Core Runtime > > Affects Versions: Java-SCA-1.1 > > Reporter: Ben Smith > > Assignee: Simon Laws > > Fix For: Java-SCA-Next > > > > Attachments: ConversationExpiry.patch > > > > > > In services that are marked as @Conversational yet have scope of > STATELESS the following problems occur > > Caused by: > org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidConversationalImplementation: > Service is marked with @ConversationAttributes but the scope is not > @Scope("CONVERSATION") > > at > org.apache.tuscany.sca.implementation.java.introspect.impl.ConversationProcessor.visitClass > (ConversationProcessor.java:57) > > Also looking at the code it looks as if that expiring of conversations > only occurs with services that are of scope CONVERSATION. I believe that the > above should work with all services marked as @Conversational. > > To fix this I'm thinking that the job of expiring conversations should > be moved from the ConversationalScopeContainer into the ConversationManager > and the check in the ConversationProcessor changed to check for the > @Conversational tag not @Scope("CONVERSATION") > > Ben > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: tuscany-dev-help@ws.apache.org > > Hi Thomas I took a preliminary look at the patch and from what I've seen it looks good so far. Had hoped to commit this straight away but I've been unwell for the last couple of days so didn't get it done. Back on the case now so I'll go through it again and ask questions as required. Regards Simon ------=_Part_7552_30962593.1202139033549--