[jboss-cvs] JBossAS SVN: r63286 - trunk/jmx/src/main/org/jboss/mx/loading.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 31 15:43:24 EDT 2007


Author: scott.stark at jboss.org
Date: 2007-05-31 15:43:24 -0400 (Thu, 31 May 2007)
New Revision: 63286

Modified:
   trunk/jmx/src/main/org/jboss/mx/loading/LoadMgr3.java
Log:
JBAS-4441, the check against numCCE needs to be <= 10 for the retry.

Modified: trunk/jmx/src/main/org/jboss/mx/loading/LoadMgr3.java
===================================================================
--- trunk/jmx/src/main/org/jboss/mx/loading/LoadMgr3.java	2007-05-31 19:42:57 UTC (rev 63285)
+++ trunk/jmx/src/main/org/jboss/mx/loading/LoadMgr3.java	2007-05-31 19:43:24 UTC (rev 63286)
@@ -404,7 +404,7 @@
          boolean retry = e instanceof ClassCircularityError
             || e.getClass().equals(LinkageError.class);
          int numCCE = loadTask.incNumCCE();
-         if( retry && numCCE >= 10 )
+         if( retry && numCCE <= 10 )
          {
             /* Reschedule this task after all existing tasks to allow the
             current load tasks which are conflicting to complete.
@@ -428,7 +428,7 @@
          {
             loadTask.setLoadError(e);
             if( trace )
-               log.trace("Run failed with exception", e);
+               log.trace("Run failed with exception, loadTask="+loadTask, e);
          }
       }
       finally




More information about the jboss-cvs-commits mailing list