[jboss-jira] [JBoss JIRA] (WFLY-5756) Unable to exclude root context (/) via excluded-contexts in mod_cluster subsystem

Radoslav Husar (JIRA) issues at jboss.org
Tue Dec 1 19:40:00 EST 2015


    [ https://issues.jboss.org/browse/WFLY-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135923#comment-13135923 ] 

Radoslav Husar commented on WFLY-5756:
--------------------------------------

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 at 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}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list