Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E303F6972 for ; Sun, 22 May 2011 06:47:31 +0000 (UTC) Received: (qmail 19698 invoked by uid 500); 22 May 2011 06:47:31 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 18942 invoked by uid 500); 22 May 2011 06:47:30 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 18920 invoked by uid 99); 22 May 2011 06:47:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2011 06:47:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2011 06:47:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 82BD9D6BF6 for ; Sun, 22 May 2011 06:46:47 +0000 (UTC) Date: Sun, 22 May 2011 06:46:47 +0000 (UTC) From: "Anjana Fernando (JIRA)" To: java-dev@axis.apache.org Message-ID: <637143441.34142.1306046807532.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2035486689.27947.1305836087459.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-5049) Axis2 Services / ServiceGroups Not Updating Properly When doing Hot-Update with Transport Session MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037515#comment-13037515 ] Anjana Fernando commented on AXIS2-5049: ---------------------------------------- Hi Azeez, Thank you for pointing that out. I guess, that was anyway a problem that was there in Axis2. And this patch just addresses a unique problem that comes with transport session scoped services. I guess we will later look into that problem more carefully and come with a solution to do that. Hope that's ok. Cheers, Anjana, > Axis2 Services / ServiceGroups Not Updating Properly When doing Hot-Update with Transport Session > ------------------------------------------------------------------------------------------------- > > Key: AXIS2-5049 > URL: https://issues.apache.org/jira/browse/AXIS2-5049 > Project: Axis2 > Issue Type: Bug > Components: kernel > Affects Versions: 1.5.4 > Reporter: Anjana Fernando > Fix For: nightly > > Attachments: AXIS2-5049-Patch.txt > > > The scenario is explained in the following points, > * AxisService in Transport Session Scope. > * Incoming request. > * Create ServiceContext, ServiceGroupContext from AxisService and AxisServiceGroup and store it in SessionContext. > * SessionContext contains fixed ServiceContext and ServiceGroupContext throughout Transport Session lifetime. > * Changes to AxisConfiguratio wont be known by SessionContext, removing of services to service group, removing service group. > * Removing Service Group, removing Service from service group must be communicated to SessionContext, so it can remove the necessory items from itself, and refresh the services / service groups in the next request. > Because of the above problem, when doing hotupdate, a service which is in transport session will not be updated to the newly deployed service. Also, same for service groups, if a service group was removed and added again, the service group that is in the ServiceGroupContext will be the old service group. > Cheers, > Anjana. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org