Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 40697 invoked from network); 9 Mar 2008 13:31:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2008 13:31:15 -0000 Received: (qmail 75500 invoked by uid 500); 9 Mar 2008 13:31:05 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 75462 invoked by uid 500); 9 Mar 2008 13:31:05 -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 75448 invoked by uid 99); 9 Mar 2008 13:31:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Mar 2008 06:31:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Mar 2008 13:30:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1D2E8234C086 for ; Sun, 9 Mar 2008 06:29:46 -0700 (PDT) Message-ID: <16048527.1205069386104.JavaMail.jira@brutus> Date: Sun, 9 Mar 2008 06:29:46 -0700 (PDT) From: "Rich Scheuerle (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Work started: (AXIS2-3581) WSDLDefinitionWrapper is not being constructed with the proper Configuration information In-Reply-To: <829065284.1204988506270.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-3581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on AXIS2-3581 started by Rich Scheuerle. > WSDLDefinitionWrapper is not being constructed with the proper Configuration information > ---------------------------------------------------------------------------------------- > > Key: AXIS2-3581 > URL: https://issues.apache.org/jira/browse/AXIS2-3581 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Reporter: Rich Scheuerle > Assignee: Rich Scheuerle > Priority: Blocker > Fix For: 1.4 > > > History: > WSLDDefinitionWrapper wraps a WSDL Definition. The WSDLDefinitionWrapper uses information from the AxisConfiguration to determine the strategy for > loading resources (i.e. loading and keeping the schema in core). > Problem: > The WSDLDefinitionWrapper (and its companion WSDL4JWrapper class) expose constructors that don't pass in the configuration context or other memory limit information. > When these ill-conceived constructors are used, the AxisConfiguration information is ignored, and this can lead to out of memory situation. > Solution: > The solution is to CLEANUP the constructors! > First Step: Deprecate all of the constructors on WSDLDefinitionWrapper and WSDL4JWrapper that don't provide a memory configuration parameter . > Second Step: Examine all uses of the deprecated constructors. In most cases, a configuration (AxisConfiguration) is available, and the code is changed to > use the correct constructor. In other cases, the configuration information is not available, but there is an obvious choice based on the context of the call. > (i.e. we don't need a memory sensitive WSDLDefinitionWrapper for a temporary wsdl definiton usage). > I am testing a solution. > Kudos to Vien Tran of IBM for finding this error during rigorous SVT testing with a service containing a large number of schemas. > Kudos to Jeff Barrett for working with me to brainstorm a solution. -- 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