[
https://issues.jboss.org/browse/MODCLUSTER-457?page=com.atlassian.jira.pl...
]
Radoslav Husar edited comment on MODCLUSTER-457 at 10/12/16 4:25 AM:
---------------------------------------------------------------------
In WildFly our connectors are named, however in Tomcat connectors are not named
(org.apache.catalina.connector.Connector) thus its one of the reasons for auto-selection
of the connector.
The best we could would be differentiate by host:port and require the connector to specify
host excplicitky. Ideas [~jfclere], [~pferraro]?
was (Author: rhusar):
In WildFly our connectors are named, however in Tomcat connectors are not named
(org.apache.catalina.connector.Connector) thus one more reason for auto-selection of the
connector.
We would need to differentiate by scheme (still does not uniquely identifies the
connector) or port, which is not an elegant solution. Ideas [~jfclere], [~pferraro]?
Tomcat mod_cluster integration does not allow one to choose a
connector
-----------------------------------------------------------------------
Key: MODCLUSTER-457
URL:
https://issues.jboss.org/browse/MODCLUSTER-457
Project: mod_cluster
Issue Type: Bug
Components: Core & Container Integration (Java)
Affects Versions: 1.2.11.Final, 1.3.1.Final
Reporter: Michal Karm Babacek
Assignee: Radoslav Husar
Fix For: 1.3.4.Final
Configuring mod_cluster to leverage {{ws://}} with {{EnableWsTunnel}}
(mod_proxy_wstunnel) requires the Tomcat to use *http* instead of *ajp* connector.
Unlike
[
AS7/WildFly/EAP|https://github.com/wildfly/wildfly/blob/master/mod_cluste...]
mod_cluster integration, the Tomcat one ignores such option, i.e. there is nothing about
selecting a particular connector with a *connector* attribute in
[
mbeans-descriptors.xml|https://github.com/modcluster/mod_cluster/blob/b3a...].
<Listener
className="org.jboss.modcluster.container.catalina.standalone.ModClusterListener"
loadMetricClass="org.jboss.modcluster.load.metric.impl.BusyConnectorsLoadMetric"
loadMetricCapacity="1" loadHistory="9"
loadDecayFactor="2" stickySession="true"
stickySessionForce="false" stickySessionRemove="true"
advertise="true"
{color:red}*connector="http"*{color}
advertiseGroupAddress="224.0.5.12" advertisePort="61217"
/>
Suggestion: Let's add the option to the catalina integration as well.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)