Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 93846 invoked from network); 20 Dec 2006 04:47:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2006 04:47:58 -0000 Received: (qmail 26614 invoked by uid 500); 20 Dec 2006 04:47:59 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 26570 invoked by uid 500); 20 Dec 2006 04:47:59 -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 26559 invoked by uid 99); 20 Dec 2006 04:47:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 20:47:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 19 Dec 2006 20:47:49 -0800 Received: (qmail 26491 invoked from network); 20 Dec 2006 04:47:28 -0000 Received: from unknown (HELO ?127.0.0.1?) (unknown) by unknown with SMTP; 20 Dec 2006 04:47:28 -0000 X-pair-Authenticated: 222.165.171.88 Message-ID: <4588C056.6040908@opensource.lk> Date: Wed, 20 Dec 2006 10:17:18 +0530 From: Deepal Jayasinghe User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: service lifecycle References: In-Reply-To: X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Tony; Tony Dean wrote: >Can someone answer this question for me... > >Since there appears to be a bug in startUp()... ie., the service is not fully initialized by the time startUp() is called (AxisService.getFileName() returns null). > Pls create a JIRA for this , then I can fix that b4 next release (since at the moment we only fix the JIRAs ) . > I was hoping to just avoid startUp() / shutDown() and just use init() / destroy() since my service is using "application" scope. Being that my service is application scoped, there should only be one session created; hence, init() / destroy() called only once. It appears that init() is called during service deployment which is good for me since the one-time initialization that I am doing in init() will get executed before the first actual service request. I just wanted to confirm this behavior with the experts since I do not want one-time initialization overhead to be added to the first client's request. Any comments? > > Yes , if you deploy the service in application scope then the init method will be called at the time when you deploy the service and not when it receive the first request. >Thanks. >-Tony > >Tony Dean >SAS Institute Inc. >919.531.6704 >tony.dean@sas.com > >SAS... The Power to Know >http://www.sas.com > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org >For additional commands, e-mail: axis-dev-help@ws.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org