4 Replies Latest reply on Dec 18, 2014 5:54 AM by Jean-Frederic Clere

    Jboss AS 7.1 mod_cluster and mod_ssl giving Invalid message received with signature 8192

    bharat bendre Newbie

      Hi All,

       

      We are setting up SSL connection for a web application, we have apache2.2(httpd) and Jboss AS 7.1, we are using mod_cluster and mod_ssl.

      its works for login and other initial pages , but its giving error when we post huge data, we can see the data being posted to apache in the ssl_error_log 

      but its not forwarding to JBOSS. in the JBOSS Its giving below error.

        

      6:58:19,764 ERROR [org.apache.coyote.ajp.AjpMessage] (ajp--0.0.0.0-8009-7) Invalid message received with signature 8192

      16:58:27,422 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/bvb-web].[auEngine]] (ajp--0.0.0.0-8009-10) Servlet.service() for servlet auEngine threw exception: java.lang.ArrayIndexOutOfBoundsException

                      at java.net.SocketInputStream.read(SocketInputStream.java:143) [rt.jar:1.7.0_51]

                      at java.net.SocketInputStream.read(SocketInputStream.java:122) [rt.jar:1.7.0_51]

                      at org.apache.coyote.ajp.AjpProcessor.read(AjpProcessor.java:1131) [jbossweb-7.0.13.Final.jar:]

                      

          Any one configured apache httpd and jboss for similar issue? Quick help on this is appreciated.

         how can i debug further on jboss or apache side, i have enabled  mod_dumpio and put loglevel to debug on apache, how i can do same here on jboss to see if data is being posted or not?

                          

      In the jboss-standalone-full-ha.xml I have entry like this

         <subsystem xmlns="urn:jboss:domain:modcluster:1.0">

        <mod-cluster-config advertise-socket="modcluster" proxy-list="xyz.com:10001,xyz.com:10001" balancer="jboss-leida-balancer" advertise="false" excluded-contexts="admin-console">

                       <dynamic-load-provider>

        <load-metric type="busyness"/>

        </dynamic-load-provider>

        </mod-cluster-config>

        </subsystem>

       

      <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" instance-id="${jboss.server.name}" native="false">

        <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" max-post-size="1073741824"/>

        <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true" max-post-size="1073741824"/>

        <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp" max-post-size="1073741824" />

        <virtual-server name="default-host" enable-welcome-root="true">

        <alias name="localhost"/>

        <alias name="example.com"/>

        </virtual-server>

        </subsystem>