[Jboss-cvs] JBossAS SVN: r56032 - trunk/tomcat/src/main/org/jboss/web/tomcat/tc6

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 17 13:03:47 EDT 2006


Author: bstansberry at jboss.com
Date: 2006-08-17 13:03:46 -0400 (Thu, 17 Aug 2006)
New Revision: 56032

Modified:
   trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/TomcatDeployer.java
Log:
[JBAS-3513] Log absence of cluster svcs at WARN

Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/TomcatDeployer.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/TomcatDeployer.java	2006-08-17 16:34:46 UTC (rev 56031)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/TomcatDeployer.java	2006-08-17 17:03:46 UTC (rev 56032)
@@ -342,10 +342,20 @@
          }
          catch (ClusteringNotSupportedException e)
          {
-            log.error("Failed to setup clustering, clustering disabled", e);
+            // JBAS-3513 Just log a WARN, not an ERROR
+            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
             log.error("Failed to setup clustering, clustering disabled. Exception: ", t);
          }
       }




More information about the jboss-cvs-commits mailing list