Red Hat Bugzilla – Bug 846362
[jboss-as5] Shutdown max wait time "shared" between different resources
Last modified: 2014-01-02 15:39:32 EST
Created attachment 602782 [details]
Description of problem:
This is a concurrency issue.
The problem is that while a shutdown operation on some AS5 resource is in progress, executing the shutdown operation on another AS5 resource on the same agent will override the max wait time of the two operations to the same value defined by the latter resource.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. have 2 AS5 resources in inventory, make sure their shutdown takes more than 1 minute (not sure how to do this actually - possibly install a custom MBean that implements MBeanRegistration interface and sleep in preDeregister()?)
2. set the max wait time of 1 to 15 minutes, and 1minute on the other (2).
3. run shutdown on 1.
4. immediatelly run shutdown on 2
The operation on the server 1 times out after 1 minute
The operation on the server 1 should only timeout after 15 minutes or complete normally.
Per triage with loleary, crouch, mfoley: Move to JBoss ON product, set target release JON 3.2, clear priority (will be subject to further triage in JON 3.2 timeframe).
Thomas, if there is time left, could you look into this?
Fixed in master
Author: Thomas Segismont <email@example.com>
Date: Wed Aug 14 16:51:00 2013 +0200
Build Number :