axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Work started: (AXIS2-3581) WSDLDefinitionWrapper is not being constructed with the proper Configuration information
Date Sun, 09 Mar 2008 13:29:46 GMT

     [ 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


Mime
View raw message