Mod_cluster + Apache + Wildfly通过http

时间:2019-08-25 16:05:56

标签: apache2 wildfly mod-cluster

我在配置apache 2.4.10 + mod_cluster 1.3.1 + wildfly 17时遇到问题-apache中error.log中的分段错误。当我使用ajp时,它可以正常工作,但不能使用http。我尝试编译并使用mod_cluster的模块1.3.12版本,但没有帮助。有人解决了这个问题吗?操作系统:debian 8

Wildfly设置:

<subsystem xmlns="urn:jboss:domain:modcluster:5.0">
    <proxy name="default" advertise-socket="modcluster" listener="default" proxies="proxy1">
        <dynamic-load-provider>
            <load-metric type="cpu"/>
        </dynamic-load-provider>
    </proxy>
</subsystem>
<server name="default-server">
    <ajp-listener name="ajp" socket-binding="ajp"/>
    <http-listener name="default" socket-binding="http" redirect-socket="https" proxy-address-forwarding="true" enable-http2="true"/>
    <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
    <host name="default-host" alias="localhost">
        <location name="/" handler="welcome-content"/>
        <http-invoker security-realm="ApplicationRealm"/>
    </host>
</server>
<outbound-socket-binding name="proxy1">
    <remote-destination host="192.168.27.4" port="7777"/>
</outbound-socket-binding>

mod_cluster.conf

<IfModule manager_module>
  Listen 192.168.27.4:7777
  ManagerBalancerName mycluster
  <VirtualHost 192.168.27.4:7777>

    <Location />
     Require ip 192.168.27
    </Location>

    KeepAliveTimeout 1800
    MaxKeepAliveRequests 0
    ServerAdvertise on 192.168.27.4:7777
    AdvertiseFrequency 10
    #AdvertiseSecurityKey secret
    #AdvertiseGroup @ADVIP@:23364
    EnableMCPMReceive

    <Location /mod_cluster-manager>
       SetHandler mod_cluster-manager
       Require ip 192.168.27
    </Location>

  </VirtualHost>
</IfModule>

错误:

[Mon Aug 26 18:43:53.683662 2019] [core:notice] [pid 29751:tid 140376589154176] AH00052: child pid 29756 exit signal Segmentation fault (11)

当我尝试进入页面时,我看到空白页和类似错误的消息:无法加载资源:net :: ERR_INCOMPLETE_CHUNKED_ENCODING

0 个答案:

没有答案
相关问题