[
https://issues.jboss.org/browse/MODCLUSTER-467?page=com.atlassian.jira.pl...
]
Pierre-Luc Gregoire updated MODCLUSTER-467:
-------------------------------------------
Attachment: MODCLUSTER-467-patch.diff
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.
for(String host : config.getExcludedContextsPerHost().keySet()) {
builder.addDependency(WebSubsystemServices.JBOSS_WEB_HOST.append(host ==
null?"default-host":host));
}
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)