On Mon, 2006-04-24 at 22:36 +0200, Jens Schumann wrote:
> Hi Axis-dev Team,
>
> While browsing through axis2 sources I ran across several
> System.setProperty() code fragments. I believe using System.setProperty() in
> a potentially shared web application belongs to the category "Just don't
> do". Do you think we can get rid of them?
>
> Examples:
> WarBasedAxisConfigurator
> System.setProperty("web.location", weblocation.getAbsolutePath());
Should be removable by moving to ServletContext.
> ListingAgent
> System.setProperty(RUNNING_PORT, port);
Same here.
> Axis2Util
> - System.setProperty(OMAbstractFactory.SOAP11_FACTORY_NAME_PROPERTY,
> SOAP11Factory.class.getName());
Not removable .. I'm sure Ruchith will explain further; the problem is
with the way JAXP works (or something about how DOOM has to be plugged
in).
Sanjiva.