Project

General

Profile

Actions

Configure mod_jk

The installed version is 1.2.28

Currently there is 2 nodes available:
  • node1 - Jboss 4.2.2
  • node2 - Jboss 5.1

Add URL mapping

Those URL mapping which forwards requests to Jboss.

  1. Edit /opt/httpd-2.2.26/conf/uriworkermap.properties
    vi /opt/httpd-2.2.26/conf/uriworkermap.properties
    
  2. Specify context, e.g. /test-web-app/*
    Example:
    # Mount the Servlet context to the ajp13 worker
    /jmx-console=node1
    /jmx-console/*=node1
    /web-console=node1
    /web-console/*=node1
    
    # monitor-app application
    /monitor-app/*=node1
    
    

Updated by chin-yeh almost 14 years ago · 5 revisions