| Summary: | MOD_CLUSTER's "excludedContexts" doesn't seem to work as expected (for ROOT.war)... | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 5 | Reporter: | bhaveshonnet |
| Component: | jbossas | Assignee: | Carlo de Wolf <cdewolf> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.1.1 | CC: | aogburn, bperkins |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-12 18:45:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
mod_cluster 1.1 is not supported |
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]$"