[ http://issues.apache.org/jira/browse/AXIS2-611?page=all ]
Deepal Jayasinghe resolved AXIS2-611:
-------------------------------------
Resolution: Fixed
Fixed as follows
WarBasedAxisConfigurator
System.setProperty("web.location", weblocation.getAbsolutePath());
Keep insoide deployment engine
ListingAgent
System.setProperty(RUNNING_PORT, port);
keep the property in configuration context
> Usage of System.setProperty()
> -----------------------------
>
> Key: AXIS2-611
> URL: http://issues.apache.org/jira/browse/AXIS2-611
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Reporter: Jens Schumann
> Priority: Blocker
>
> In a web app the usage of System.setProperty should be avoided. Axis2 uses
> System.setProperty several times.
> Examples:
> WarBasedAxisConfigurator
> System.setProperty("web.location", weblocation.getAbsolutePath());
> ListingAgent
> System.setProperty(RUNNING_PORT, port);
> Axis2Util
> - System.setProperty(OMAbstractFactory.SOAP11_FACTORY_NAME_PROPERTY,
> SOAP11Factory.class.getName());
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira