Bug 734199 - MOD_CLUSTER's "excludedContexts" doesn't seem to work as expected (for ROOT.war)...
Summary: MOD_CLUSTER's "excludedContexts" doesn't seem to work as expected (for ROOT.w...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 5
Classification: JBoss
Component: jbossas
Version: 5.1.1
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: Carlo de Wolf
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-29 17:40 UTC by bhaveshonnet
Modified: 2016-02-12 18:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-12 18:45:57 UTC
Type: ---


Attachments (Terms of Use)

Description bhaveshonnet 2011-08-29 17:40:57 UTC
Description of problem:
"excludedContext" NOT working as expected.

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

How reproducible:


Steps to Reproduce:
1. Start EAP 5.1.1 (with mod_cluster installed) and EWS 1.0.2
2. Launch "mod_cluster-manager" URL from WebServer.
3. Notice the list of managed Contexts.
  
Actual results:
Contexts:
/, Status: ENABLED Request: 0 Disable
:
:
:

Expected results:
Contexts:
/, Status: ENABLED Request: 0 Disable -> Should NOT be managed.

Additional info:
We are using JBoss EAP 5.1.1 with JBoss EWS 1.0.2 and mod_cluster 1.1.3. When I look at the WebServer's "mod_cluster-manager" URL, I can see that root context "/" is by default enabled. This context is supposed to be "excludedContext" as per the "mod_cluster.sar/META-INF/mod_cluster-jboss-beans.xml". See details below:


[misadm@dctlaqjbs02 mod_cluster.sar]$ pwd /opt/JBoss51/dcl/jboss-eap-5.1/jboss-as/server/qaServer2/farm/mod_cluster.sar
[misadm@dctlaqjbs02 mod_cluster.sar]$
[misadm@dctlaqjbs02 mod_cluster.sar]$ ll total 192
drwxr-xr-x 2 misadm misgrp   4096 Jun 16 11:45 META-INF
-rw-r--r-- 1 misadm misgrp 188396 Aug 29 11:10 mod_cluster-1.1.3.Final.jar
[misadm@dctlaqjbs02 mod_cluster.sar]$
[misadm@dctlaqjbs02 mod_cluster.sar]$
[misadm@dctlaqjbs02 mod_cluster.sar]$ cat /META-INF/mod_cluster-jboss-beans.xml | egrep 'exclu|ROOT'
    <!-- ROOT indicates the root context. -->
    <property name="excludedContexts">${jboss.mod_cluster.excludedContexts,jboss.modcluster.excludedContexts:ROOT,admin-console,invoker,jbossws,jmx-console,juddi,web-console}</property>
[misadm@dctlaqjbs02 mod_cluster.sar]$"

Comment 1 Aaron Ogburn 2016-02-12 18:45:57 UTC
mod_cluster 1.1 is not supported


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