axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r804675 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
Date Sun, 16 Aug 2009 11:51:08 GMT
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;
             }



Mime
View raw message