Bug 728621 - mod-cluster configuration properties are not fully propagating
Summary: mod-cluster configuration properties are not fully propagating
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.1
Hardware: All
OS: All
medium vote
Target Milestone: ---
: ---
Assignee: Stefan Negrea
QA Contact: Mike Foley
Depends On:
Blocks: 682349
TreeView+ depends on / blocked
Reported: 2011-08-05 20:40 UTC by Mike Foley
Modified: 2012-02-07 19:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-02-07 19:22:52 UTC

Attachments (Terms of Use)

Description Mike Foley 2011-08-05 20:40:50 UTC
Description of problem:  mod-cluster configuration properties are not fully propagating.  the change is correctly propagating to the MBean, but not further.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.   discover and import JBoss42 with mod-cluster
2.   change a configuration property, such as Flushpackets
3.   observe the property change propagates to the MBean, but not to the mod-cluster manager web page
Actual results:

Property change partially propogates to the MBean:  http://localhost/jmx-console/HtmlAdaptor?action=inspectMBean&name=Catalina%3Atype%3DModClusterListener

but ... 

not fully because the change is not showing on this page:  http://localhost:6666/mod_cluster_manage

Expected results:

Property change propogates to this page:  http://localhost:6666/mod_cluster_manage

Additional info:

Comment 1 Stefan Negrea 2011-08-28 16:03:04 UTC
The bug has been fixed. Updating just the JMX properties does not send the properties to the http server as expected. Also, those settings are not persisted so any changes are lost after a server restart. Implemented a three step process to update, propagate, and persist configuration updates.

The correct procedure to update mod_cluster properties for JBoss 42 is:
1) update JMX properties - nothing gets persisted in this step
2) invoke refresh command to propagate updates to httpd
3) persist changes server configuration file so that they are reloaded after a restart

Comment 4 Mike Foley 2011-08-30 14:57:09 UTC
documenting the verification ... changes to property propogating to the mod-cluster admin page

Enable Contexts Disable Contexts
Balancer: mycluster,LBGroup: ,Flushpackets: On,Flushwait: 10000,Ping: 10000000,Smax: 26,Ttl: 60000000,Status: OK,Elected: 103,Read: 1406,Transferred: 0,Connected: 0,Load: 100

Comment 5 Mike Foley 2012-02-07 19:22:52 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

Note You need to log in before you can comment on or make changes to this bug.