[wsas-java-dev] svn commit r614 - wsas/java/trunk/modules/core/src/org/wso2/wsas/deployment

svn at wso2.com svn at wso2.com
Fri Jan 26 01:22:35 PST 2007


Author: saminda
Date: Fri Jan 26 01:22:23 2007
New Revision: 614

Modified:
   wsas/java/trunk/modules/core/src/org/wso2/wsas/deployment/ServerConfigurator.java
Log:
update to sync with Axis2


Modified: wsas/java/trunk/modules/core/src/org/wso2/wsas/deployment/ServerConfigurator.java
==============================================================================
--- wsas/java/trunk/modules/core/src/org/wso2/wsas/deployment/ServerConfigurator.java	(original)
+++ wsas/java/trunk/modules/core/src/org/wso2/wsas/deployment/ServerConfigurator.java	Fri Jan 26 01:22:23 2007
@@ -171,17 +171,20 @@
 
     private void persistTransports(AxisConfiguration axisConfig) throws AxisFault {
         ConfigurationContext ctx = new ConfigurationContext(axisConfig);
-        Parameter contextRoot =
-                axisConfig.
-                        getParameter(
-                                org.wso2.wsas.ServerConstants.Axis2ParameterNames.CONTEXT_ROOT);
-        ctx.setContextRoot((String) contextRoot.getValue());
+
         Parameter servicePath =
                 axisConfig.
                         getParameter(
                                 org.wso2.wsas.ServerConstants.Axis2ParameterNames.SERVICE_PATH);
         ctx.setServicePath((String) servicePath.getValue());
 
+        Parameter contextRoot =
+                axisConfig.
+                        getParameter(
+                                org.wso2.wsas.ServerConstants.Axis2ParameterNames.CONTEXT_ROOT);
+        ctx.setContextRoot((String) contextRoot.getValue());
+
+
         // Do this only for the servlet edition
         if (System.getProperty("wso2wsas.servlet.edition") != null) {
 




More information about the Wsas-java-dev mailing list