[Jboss-cvs] JBossAS SVN: r56031 - branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 17 12:34:47 EDT 2006
Author: bstansberry at jboss.com
Date: 2006-08-17 12:34:46 -0400 (Thu, 17 Aug 2006)
New Revision: 56031
Modified:
branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java
Log:
[JBAS-3513] Deal with NoClassDefFoundError as well
Modified: branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java
===================================================================
--- branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java 2006-08-17 16:29:42 UTC (rev 56030)
+++ branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java 2006-08-17 16:34:46 UTC (rev 56031)
@@ -340,8 +340,16 @@
catch (ClusteringNotSupportedException e)
{
// JBAS-3513 Just log a WARN, not an ERROR
- log.warn("Failed to setup clustering, clustering disabled. Exception: ", e);
+ log.warn("Failed to setup clustering, clustering disabled. ClusteringNotSupportedException: " +
+ e.getMessage());
}
+ catch (NoClassDefFoundError ncdf)
+ {
+ // JBAS-3513 Just log a WARN, not an ERROR
+ log.debug("Classes needed for clustered webapp unavailable", ncdf);
+ log.warn("Failed to setup clustering, clustering disabled. NoClassDefFoundError: " +
+ ncdf.getMessage());
+ }
catch(Throwable t)
{
// TODO consider letting this through and fail the deployment
More information about the jboss-cvs-commits
mailing list