You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2008/02/14 16:18:17 UTC

svn commit: r627778 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java

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