Issue Details (XML | Word | Printable)

Key: AMQ-1582
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Antonio Muñoz
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

If InactivityMonitor is inactive, exception notification are not reported

Created: 08/Feb/08 12:56 AM   Updated: 23/May/08 12:34 AM
Return to search
Component/s: Transport
Affects Version/s: 4.1.1
Fix Version/s: 4.1.2

Time Tracking:
Not Specified

Environment: windows 2000, jdk 1.5.0, apache-gernonimo-2.0.2


 Description  « Hide
Since it is mantory to use a provider URL like this:

tcp://localhost:61616?wireFormat.maxInactivityDuration=0

In order to avoid the problem described on these issues AMQ-1146 and AMQ-1482 we are starting all our jvm with that maxInactivityDuration value.
But the problem that appears using this configuration is that when the InactivityMonitor is inactive every exception on the connection is not reported to the jms exception listener. So, it is not posible detecting the lost of the conection. Event if our ActiveMQ broker is dead, our clients are not notified.

We have compile the activemq source code using the pom you provide but using the branch activemq-4.1 (from the branches folder). As your development people has solve this problem in this branch patching the class InactivyMonitor, the version we generated is working properly. Even if we are using the maxInactivityDuraction with the zero value, the exception are reported in the proper way.

The actual issue is tha since Activemq 5.x is not supported by the last version of Geronimo AS 2.0.2 it should be needed an ActiveMQ 4.1 manteniance realese including at least the patch.



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Kevin Yaussy added a comment - 17/Apr/08 12:21 PM
Please see AMQ-1671, as it may be related.

Antonio Muñoz added a comment - 23/May/08 12:34 AM
Verified on 4.1.2 revision.

Antonio Muñoz made changes - 23/May/08 12:34 AM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 4.1.2 [ 11801 ]