Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 58764 invoked from network); 2 May 2008 02:07:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2008 02:07:52 -0000 Received: (qmail 23974 invoked by uid 500); 2 May 2008 02:07:47 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 23393 invoked by uid 500); 2 May 2008 02:07:46 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 23382 invoked by uid 99); 2 May 2008 02:07:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2008 19:07:46 -0700 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 (nike.apache.org: local policy) Received: from [97.66.21.242] (HELO mail.biosignia.com) (97.66.21.242) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 02:06:53 +0000 From: "Parham, Clinton" To: "axis-user@ws.apache.org" Date: Thu, 1 May 2008 22:07:12 -0400 Subject: MessageContext in handler Message-ID: Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BF2E1C0B2CC2FC46B545C0D61A152CEE06A6961DF0BIOSRV05ns200_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_BF2E1C0B2CC2FC46B545C0D61A152CEE06A6961DF0BIOSRV05ns200_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm new to Axis2 and still trying to get comfortable with the new architect= ure. I have engaged the Rampart module and during CallbackHandler.handle(),= I need to connect to my database to verify the password. Once verified, I = would like to store the database connection (along with some other related = information) for reuse later in the processing. Under heavy utilization, re= questing two database connections per request starts adding up. How can I do this? MessageContext (where I stored this with Axis1) is null = during CallbackHandler.handle(). I've seen other similar postings but no cl= ear answer. Thank you. --_000_BF2E1C0B2CC2FC46B545C0D61A152CEE06A6961DF0BIOSRV05ns200_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m new to Axis2 and still trying to get comfort= able with the new architecture. I have engaged the Rampart module and during Callback= Handler.handle(), I need to connect to my database to verify the password. Once verified, I w= ould like to store the database connection (along with some other related information) for reuse later in the processing. Under heavy utilization, requesting two database connections per request starts adding up.

 

How can I do this? MessageContext (where I stored this= with Axis1) is null during CallbackHandler.handle(). I’ve seen other simil= ar postings but no clear answer.

 

Thank you.

 

--_000_BF2E1C0B2CC2FC46B545C0D61A152CEE06A6961DF0BIOSRV05ns200_--