[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
Thu Aug 27 11:32:05 EDT 2015
[ https://issues.jboss.org/browse/MODCLUSTER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102808#comment-13102808 ]
Pierre-Luc Gregoire commented on MODCLUSTER-467:
------------------------------------------------
I will submit a fix using a system property to add a dependency on the desired host when the subsytem start. In ModClusterSubsystemAdd :
.addDependency(ServiceName.parse("jboss.web.host.default-host")) where "jboss.web.host.default-host" could be a system property. Maybe not the best option but I tested it and it works well. This ensure that the host used in excludedContexts is initialized.
Here is the link used to find how subsystem dependencies work.
https://developer.jboss.org/message/776404#776404
> 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
>
> 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