DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39933

           Summary: Divide by zero exception when viewing ClusterReceiver
                    with JMX
           Product: Tomcat 5
           Version: 5.5.12
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina:Cluster
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


While troubleshooting a clustering issue, I installed JMX (for JDK 1.4) as per
the instructions at http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
to be able to monitor the activity.  When clicking on the link for
Catalina:type=ClusterReceiver,host=localhost I was getting a Divide by Zero
exception in the catalina.out log.  The message was:

catalina.out:javax.management.RuntimeOperationsException: Exception invoking
method avgTotalReceivedBytes nested runtime exception is
java.lang.ArithmeticException: / by zero

Presumably this was because no traffic had been received yet.  Once I got
clustering working, and traffic was being sent/received, I no longer received
this error.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to