activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher L. Shannon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-6357) shutdown due to a local error: java.lang.ArithmeticException: / by zero
Date Thu, 14 Jul 2016 14:19:20 GMT

     [ https://issues.apache.org/jira/browse/AMQ-6357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher L. Shannon resolved AMQ-6357.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.13.4
                   5.14.0

Resolved by using a local reference to make sure that the value that is the divisor doesn't
change after the initial > 0 check

> shutdown due to a local error: java.lang.ArithmeticException: / by zero
> -----------------------------------------------------------------------
>
>                 Key: AMQ-6357
>                 URL: https://issues.apache.org/jira/browse/AMQ-6357
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.13.0
>         Environment: # /local/jdk/bin/java -version
> java version "1.8.0_45"
> Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
> # uname -a
> Linux esb-test-mq01 3.13.0-91-generic #138-Ubuntu SMP Fri Jun 24 17:00:34 UTC 2016 x86_64
x86_64 x86_64 GNU/Linux
> # lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    Ubuntu 14.04.4 LTS
> Release:        14.04
> Codename:       trusty
> Activemq 5.13.0
>            Reporter: Johan Carlquist
>            Assignee: Christopher L. Shannon
>             Fix For: 5.14.0, 5.13.4
>
>         Attachments: TRACE.log, activemq.xml
>
>
> We have two brokers esb-test-mq01 and esb-test-mq02 configured in a
> network of brokers. In front of the brokers we have a load balancer
> that spreads the connecting clients between the brokers.
> The brokers connect to each other directly without the load balancer.
> Sometimes (we havn't found any patterns for when it occurs) one of the
> connections between the brokers closes down with the following message:
> "Network connection between vm://esb-test-mq01.it.su.se#18 and ssl://
> esb-test-mq02.it.su.se/77.238.37.208:61616 shutdown due to a local error:
> java.lang.ArithmeticException: / by zero"
> After this the faulty broker never calls back. We have finally caught this
> division with TRACE turned on, but we can't make anything out of the
> logs. (See attatched log file)
> Tim said on activemq-users to include as much information as I can but
> I can't figure out anything more specific for our setup. I think activemq.xml 
> says it all (and it is attatched to this issue).
> Let us know if there is any other information we can provide you with.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message