Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 8317 invoked from network); 23 Feb 2007 10:47:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 10:47:09 -0000 Received: (qmail 66758 invoked by uid 500); 23 Feb 2007 10:47:17 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 66662 invoked by uid 500); 23 Feb 2007 10:47:16 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 66651 invoked by uid 500); 23 Feb 2007 10:47:16 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 66648 invoked by uid 99); 23 Feb 2007 10:47:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 02:47:16 -0800 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 02:47:07 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id F3E521A981D; Fri, 23 Feb 2007 02:46:46 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r510898 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context: AbstractContext.java SessionContext.java Date: Fri, 23 Feb 2007 10:46:46 -0000 To: axis2-cvs@ws.apache.org From: azeez@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070223104646.F3E521A981D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: azeez Date: Fri Feb 23 02:46:42 2007 New Revision: 510898 URL: http://svn.apache.org/viewvc?view=rev&rev=510898 Log: Adding a default constructor to SessionContext. This is needed for the following reason; When HTTP transport based sessions are used in Axis2 Web services, a SessionContext object is used. This SessionContext is added to the HTTP session as an attribute. When Axis2 is deployed on Tomcat, it persists the session information in the work directory. When Tomcat is restarted, it tries to reconstruct the SessionContext object. If no default constructor is available, an exception is thrown. Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java?view=diff&rev=510898&r1=510897&r2=510898 ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java Fri Feb 23 02:46:42 2007 @@ -40,6 +40,9 @@ this.parent = parent; } + protected AbstractContext(){ + } + /** * @return Returns AbstractContext. */ Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java?view=diff&rev=510898&r1=510897&r2=510898 ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java Fri Feb 23 02:46:42 2007 @@ -83,6 +83,9 @@ super(parent); } + public SessionContext() { + } + public void init(AxisConfiguration axisConfiguration) throws AxisFault { } --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org