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 2007/07/01 07:31:12 UTC
svn commit: r552249 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
Author: dims
Date: Sat Jun 30 22:31:10 2007
New Revision: 552249
URL: http://svn.apache.org/viewvc?view=rev&rev=552249
Log:
Behave better when we run java2wsdl and *not* have commons http-client jar in the CLASSPATH (MultipartFormDataFormatter in the axis2_default.xml uses org.apache.commons.httpclient.methods.multipart.Part)
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java?view=diff&rev=552249&r1=552248&r2=552249
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java Sat Jun 30 22:31:10 2007
@@ -593,6 +593,20 @@
}
}
+ protected HashMap processMessageBuilders(OMElement messageBuildersElement)
+ throws DeploymentException {
+ try {
+ return super.processMessageBuilders(messageBuildersElement);
+ } catch (NoClassDefFoundError e) {
+ if (deploymentEngine != null) {
+ throw new DeploymentException(e);
+ } else {
+ // Called from createDefaultConfigurationContext in ConfigurationContextFactory
+ // Please don't throw an exception.
+ return new HashMap();
+ }
+ }
+ }
private Phase getPhase(String className)
throws ClassNotFoundException, IllegalAccessException, InstantiationException {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org