Author: veithen
Date: Wed Mar 24 19:51:40 2010
New Revision: 927168
URL: http://svn.apache.org/viewvc?rev=927168&view=rev
Log:
AXIS2-4618: Applied fix suggested by Dave Lindquist; populateAxisConfiguration
is called later on and this causes a stream closed error if the location of
axis2.xml is specified as URL.
Modified:
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
Modified:
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java?rev=927168&r1=927167&r2=927168&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
(original)
+++
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
Wed Mar 24 19:51:40 2010
@@ -121,7 +121,6 @@ public class WarBasedAxisConfigurator ex
String axisurl =
config.getInitParameter(PARAM_AXIS2_XML_URL);
if (axisurl != null) {
axis2Stream = new URL(axisurl).openStream();
- axisConfig = populateAxisConfiguration(axis2Stream);
log.debug("loading axis2.xml from URL: " + axisurl);
}
}