Skip to end of metadata
Go to start of metadata

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: Don't use scheme="ajp" wiith ajp connectors because scheme is used for the redirects

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"/>

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Sep 23, 2011

    How would you do this using the Management CLI? The HTTP socket-binding already exists, but I get stuck trying to add the AJP one.

    1. Sep 23, 2011

      Nevermind, I figured it out.

  2. Oct 27, 2011

    I typed like below




       <property name="jvmRoute" value="node1"/>

       <property name="UseJK" value="true"/>



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


    <socket-binding name="ajp" port="8009">


    But Integration of apache web server and jboss 7 was failed! Pls, inform me :)

  3. Mar 23, 2012

    The "jvmRoute" now called instance-id:

    <subsystem xmlns=”urn:jboss:domain:web:1.1″ default-virtual-server=”default-host” instance-id=”node1″ native=”false”>