[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-467) ExcludedContexts are ignored if modcluster subsystem initialize before default-host
Pierre-Luc Gregoire (JIRA)
issues at jboss.org
Wed Sep 2 14:10:05 EDT 2015
[ https://issues.jboss.org/browse/MODCLUSTER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104702#comment-13104702 ]
Pierre-Luc Gregoire edited comment on MODCLUSTER-467 at 9/2/15 2:09 PM:
------------------------------------------------------------------------
Instead of using a system property or a hard dependency on 'default-host', the patch loop on hosts defined in ExcludedContexts and add a dependency to them.
{code}
for(String host : config.getExcludedContextsPerHost().keySet()) {
builder.addDependency(WebSubsystemServices.JBOSS_WEB_HOST.append(host == null?"default-host":host));
}
{code}
This patch is for modcluster project in wildfly, tag 7.2.0.Final-testsuite-fix.
was (Author: plgregoire):
Instead of using a system property or a hard dependency on 'default-host', the patch loop on hosts defined in ExcludedContexts and add a dependency to them.
{code}
for(String host : config.getExcludedContextsPerHost().keySet()) {
builder.addDependency(WebSubsystemServices.JBOSS_WEB_HOST.append(host == null?"default-host":host));
}
{code}
> ExcludedContexts are ignored if modcluster subsystem initialize before default-host
> -----------------------------------------------------------------------------------
>
> Key: MODCLUSTER-467
> URL: https://issues.jboss.org/browse/MODCLUSTER-467
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.2.11.Final
> Reporter: Pierre-Luc Gregoire
> Assignee: Jean-Frederic Clere
> Labels: jboss
> Attachments: MODCLUSTER-467-patch.diff
>
>
> With JBoss 7.2.0.Final, modcluster will ignore excludedContexts defined in modcluster subsystem (ie jmx-console, ROOT). This is caused by engine.getHosts() not yet available when org.jboss.modcluster.ModClusterService.init(Server) try to setup his list of excludedContexts.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the mod_cluster-issues
mailing list