You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ve...@apache.org on 2009/08/16 13:51:08 UTC
svn commit: r804675 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
Author: veithen
Date: Sun Aug 16 11:51:07 2009
New Revision: 804675
URL: http://svn.apache.org/viewvc?rev=804675&view=rev
Log:
AXIS2-4464: Make all Throwables (and not only Exceptions) non fatal when trying to instantiate a deployer. Also raised the log level from info to warning when instantiation fails.
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?rev=804675&r1=804674&r2=804675&view=diff
==============================================================================
--- 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 Sun Aug 16 11:51:07 2009
@@ -414,8 +414,9 @@
} catch (UnsupportedClassVersionError ex) {
log.info("Disabled - " + deployerClassName + " - " + ex.getMessage());
continue;
- } catch (Exception e) {
- log.info("Unable to instantiate deployer " + deployerClassName);
+ } catch (Throwable e) {
+ log.warn("Unable to instantiate deployer " + deployerClassName +
+ "; see debug logs for more details");
log.debug(e.getMessage(), e);
continue;
}