[JBoss JIRA] (WFLY-5756) Unable to exclude root context (/) via excluded-contexts in mod_cluster subsystem
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-5756?page=com.atlassian.jira.plugin.... ]
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@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)
10 years, 7 months
[JBoss JIRA] (WFLY-3583) Convert mod_cluster excluded context into an xs:list of host:context
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-3583?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-3583:
---------------------------------
Fix Version/s: (was: 10.0.0.CR5)
> Convert mod_cluster excluded context into an xs:list of host:context
> --------------------------------------------------------------------
>
> Key: WFLY-3583
> URL: https://issues.jboss.org/browse/WFLY-3583
> Project: WildFly
> Issue Type: Feature Request
> Components: Clustering
> Affects Versions: 8.0.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> {noformat}
> // TODO: Convert into an xs:list of host:context
> static final SimpleAttributeDefinition EXCLUDED_CONTEXTS = SimpleAttributeDefinitionBuilder.create(CommonAttributes.EXCLUDED_CONTEXTS, ModelType.STRING, true)
> .setAllowExpression(true)
> .setDefaultValue(new ModelNode("ROOT,invoker,jbossws,juddi,console"))
> .setRestartAllServices()
> .build();
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFLY-3583) Convert mod_cluster excluded context into an xs:list of host:context
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-3583?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-3583:
---------------------------------
Affects Version/s: 8.0.0.Alpha1
> Convert mod_cluster excluded context into an xs:list of host:context
> --------------------------------------------------------------------
>
> Key: WFLY-3583
> URL: https://issues.jboss.org/browse/WFLY-3583
> Project: WildFly
> Issue Type: Feature Request
> Components: Clustering
> Affects Versions: 8.0.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> {noformat}
> // TODO: Convert into an xs:list of host:context
> static final SimpleAttributeDefinition EXCLUDED_CONTEXTS = SimpleAttributeDefinitionBuilder.create(CommonAttributes.EXCLUDED_CONTEXTS, ModelType.STRING, true)
> .setAllowExpression(true)
> .setDefaultValue(new ModelNode("ROOT,invoker,jbossws,juddi,console"))
> .setRestartAllServices()
> .build();
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFCORE-1179) Subsystem parser tests fail when woodstox parser is on classpath
by Tomaz Cerar (JIRA)
Tomaz Cerar created WFCORE-1179:
-----------------------------------
Summary: Subsystem parser tests fail when woodstox parser is on classpath
Key: WFCORE-1179
URL: https://issues.jboss.org/browse/WFCORE-1179
Project: WildFly Core
Issue Type: Bug
Components: Test Suite
Affects Versions: 2.0.1.Final
Environment: woodstox parser on test classpath
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
When subsystem is testing remove resources and subsystem model is empty.
Marshaling fails inside subsystem harness with
{noformat}
Caused by: javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).
at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1522)
at com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1551)
at com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1377)
at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:536)
at org.jboss.staxmapper.FormattingXMLStreamWriter.writeEndDocument(FormattingXMLStreamWriter.java:215)
at org.jboss.as.subsystem.test.TestParser.writeContent(TestParser.java:80)
at org.jboss.as.subsystem.test.TestParser.writeContent(TestParser.java:51)
at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:88)
at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:83)
at org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:117)
... 51 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFLY-5756) Unable to exclude root context (/) via excluded-contexts in mod_cluster subsystem
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-5756?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-5756:
---------------------------------
Forum Reference: https://developer.jboss.org/thread/261637
> 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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFLY-5756) Unable to exclude root context (/) via excluded-contexts in mod_cluster subsystem
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-5756?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-5756:
---------------------------------
Tester: Michal Karm Babacek
> 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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFLY-5756) Unable to exclude root context (/) via excluded-contexts in mod_cluster subsystem
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-5756?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-5756:
---------------------------------
Summary: Unable to exclude root context (/) via excluded-contexts in mod_cluster subsystem (was: Unable to exclude root context (/) by excluded-contexts in mod_cluster subsystem)
> 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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFLY-5756) Unable to exclude root context (/) by excluded-contexts in mod_cluster subsystem
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-5756?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-5756:
---------------------------------
Description:
{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}
was:
[standalone@localhost:9990 /] /subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=excluded-contexts,value="ROOT,/"
but no luck
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
> Unable to exclude root context (/) by 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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFLY-5756) Unable to exclude root context (/) by excluded-contexts in mod_cluster subsystem
by Radoslav Husar (JIRA)
Radoslav Husar created WFLY-5756:
------------------------------------
Summary: Unable to exclude root context (/) by 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
[standalone@localhost:9990 /] /subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=excluded-contexts,value="ROOT,/"
but no luck
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
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months