JBoss Community Archive (Read Only)

JBoss AS 7.1

Apache httpd

The recommended front-end module is mod_cluster but mod_jk or mod_proxy could be used as in Tomcat or other AS version.

To use AJP define a ajp connector in the web subsystem like:

<subsystem xmlns="urn:jboss:domain:web:1.0">
            <connector name="http" protocol="HTTP/1.1" socket-binding="http"/>
            <connector name="ajp" protocol="AJP/1.3" socket-binding="ajp"/>

 Note there is a bug (AS7-4478) in JBoss AS 7.1.Final (and possibly 7.1.1) which causes non absolute redirects to fail when using AJP 1.3 the work around is

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

To the ajp in the in the socket-binding-group like:

<socket-binding-group name="standard-sockets" default-interface="public">
           <socket-binding name="http" port="8080"/>
           <socket-binding name="ajp" port="8009"/>
           <socket-binding name="https" port="8443"/>

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 13:22:38 UTC, last content change 2012-09-08 11:11:14 UTC.