axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r463268 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/WarBasedAxisConfigurator.java
Date Thu, 12 Oct 2006 15:08:54 GMT
Author: deepal
Date: Thu Oct 12 08:08:53 2006
New Revision: 463268

URL: http://svn.apache.org/viewvc?view=rev&rev=463268
Log:
ooops NPE due to my change 

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?view=diff&rev=463268&r1=463267&r2=463268
==============================================================================
--- 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 Oct 12 08:08:53 2006
@@ -277,10 +277,12 @@
         try {
             InputStream servicexml = config.getServletContext().
                     getResourceAsStream("/WEB-INF/services.xml");
-            AxisServiceGroup serviceGroup = DeploymentEngine.buildServiceGroup(servicexml,
-                    Thread.currentThread().getContextClassLoader(),
-                    "annonServiceGroup", axisConfig);
-            axisConfig.addServiceGroup(serviceGroup);
+            if (servicexml != null) {
+                AxisServiceGroup serviceGroup = DeploymentEngine.buildServiceGroup(servicexml,
+                        Thread.currentThread().getContextClassLoader(),
+                        "annonServiceGroup", axisConfig);
+                axisConfig.addServiceGroup(serviceGroup);
+            }
         } catch (AxisFault axisFault) {
             log.info(axisFault);
         }



---------------------------------------------------------------------
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