axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r627778 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
Date Thu, 14 Feb 2008 15:18:17 GMT
Author: dims
Date: Thu Feb 14 07:18:05 2008
New Revision: 627778

URL: http://svn.apache.org/viewvc?rev=627778&view=rev
Log:
remove duplicate setProperty and call super after we set the servlet stuff, so they are available
to the registered deployers

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java?rev=627778&r1=627777&r2=627778&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
Thu Feb 14 07:18:05 2008
@@ -324,11 +324,6 @@
     }
 
     public void setConfigContext(ConfigurationContext configContext) {
-        super.setConfigContext(configContext);
-
-        // setting ServletContext into configctx
-        configContext.setProperty(HTTPConstants.MC_HTTP_SERVLETCONTEXT,
-                                  config.getServletContext());
         // setting ServletContext into configctx
         configContext.setProperty(HTTPConstants.MC_HTTP_SERVLETCONTEXT,
                                   config.getServletContext());
@@ -340,5 +335,6 @@
         } catch (AxisFault axisFault) {
             log.error(axisFault.getMessage(), axisFault);
         }
+        super.setConfigContext(configContext);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message