]
Radoslav Husar edited comment on WFLY-5756 at 12/2/15 10:12 AM:
----------------------------------------------------------------
-Unfortunately, org.jboss.modcluster.config.impl.ModClusterConfig#setExcludedContexts
processes in a way that "ROOT" becomes "" internally and "/"
becomes "//" because its prepended but the actual get context returns
"/" in WF.-
Settled down on MODCLUSTER-473 that this is a contract of the API, MODCLUSTER-473 is
making that explicit via JavaDoc. The actual fix will happen in WF code.
was (Author: rhusar):
Unfortunately, org.jboss.modcluster.config.impl.ModClusterConfig#setExcludedContexts
processes in a way that "ROOT" becomes "" internally and "/"
becomes "//" because its prepended but the actual get context returns
"/" in WF.
Unable to exclude root context (/) via excluded-contexts in
mod_cluster subsystem
---------------------------------------------------------------------------------
Key: WFLY-5756
URL:
https://issues.jboss.org/browse/WFLY-5756
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 10.0.0.CR4
Reporter: Radoslav Husar
Assignee: Radoslav Husar
{noformat}[standalone@localhost:9990 /]
/subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=excluded-contexts,value="ROOT,/"{noformat}
but no luck
{noformat}
mod_cluster/1.3.2.Alpha1-SNAPSHOT
Auto Refresh show DUMP output show INFO output
Node localhost (ajp://127.0.0.1:8009):
Enable Contexts Disable Contexts Stop Contexts
Balancer: syrah-cluster,LBGroup: ,Flushpackets: Off,Flushwait: 10000,Ping: 10000000,Smax:
26,Ttl: 60000000,Status: OK,Elected: 0,Read: 0,Transferred: 0,Connected: 0,Load: 77
Virtual Host 1:
Contexts:
/clusterbench-passivating, Status: ENABLED Request: 0 Disable Stop
/, Status: ENABLED Request: 0 Disable Stop
Aliases:
localhost
default-host
{noformat}