Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 42034 invoked from network); 24 Jan 2007 05:04:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2007 05:04:14 -0000 Received: (qmail 43814 invoked by uid 500); 24 Jan 2007 05:04:17 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 43784 invoked by uid 500); 24 Jan 2007 05:04:16 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 43773 invoked by uid 99); 24 Jan 2007 05:04:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 21:04:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 21:04:10 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FA467142D6 for ; Tue, 23 Jan 2007 21:03:49 -0800 (PST) Message-ID: <26767701.1169615029323.JavaMail.jira@brutus> Date: Tue, 23 Jan 2007 21:03:49 -0800 (PST) From: "Deepal Jayasinghe (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-1991) ServiceGroupContextID re-created by second client calling in scope=soapsession making first client session fail with exception unknown ServiceGroupContextID In-Reply-To: <8740351.1169016507640.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepal Jayasinghe resolved AXIS2-1991. -------------------------------------- Resolution: Invalid When you deploy a service in soapsession it has time out period of 30s , if client1 does not touch the service for about 30s , then the session will be invalidated. That is why you are getting the above behavior , you can change the timeout period in axis2.xml to change the bahaviour. Change the following parameter as you like; 30 > ServiceGroupContextID re-created by second client calling in scope=soapsession making first client session fail with exception unknown ServiceGroupContextID > ------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-1991 > URL: https://issues.apache.org/jira/browse/AXIS2-1991 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.1 > Environment: Windows 2000, tomcat, axis2-1.1, > Reporter: Josef Stadelmann > > Hi session-managers, > I'm running my client and server with modules addressing-1.1, logging, soapmonitor-1.1 engaged and have set scope=soapsession > MyService.java got the additional methods > > public void init(ServiceContext sCtx) { > this.sc = sCtx; > this.log.info(sc.toString()+" init() called "); > } > > public void destroy(ServiceContext sCtx) { > if(!this.sc.toString().equals(sCtx.toString())){ > this.log.error("ServiceContext on init() and destroy() not equal in "); > } > this.log.info(sc.toString()+" destroy() called "); > } > public void setOperationContext(OperationContext oCtx) { > this.oc = oCtx; > this.log.info(oc.toString()+" setOperationContext() called "); > } > > I start client #1 which has the effect that MyService.init() is called; so far so right! > Client #1 then loops and sends continously messages to MyService.echo() > I start client #2 which has the effect that MyService.destroy() is called followed by MyService.init() > This has the effect that client #1 fails with an "invalid group context id exception" > Josef -- 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: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org