Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-457

Expose Tomcat configuration to explicitly specify a connector to register with the proxy

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.4.0.Alpha1, 2.0.0.Final
    • 1.2.11.Final, 1.3.1.Final
    • Core + SPIs

      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 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.

      <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"
      connector="http" advertiseGroupAddress="224.0.5.12" advertisePort="61217"
      />

      Suggestion: Let's add the option to the catalina integration as well.

            rhn-engineering-rhusar Radoslav Husar
            mbabacek1@redhat.com Michal Karm
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: