Project

General

Profile

Configure mod jk » History » Version 5

chin-yeh, 09/30/2010 11:30 AM

1 2 chin-yeh
h1. Configure mod_jk
2
3 3 chin-yeh
The installed version is @1.2.28@
4
5 5 chin-yeh
Currently there is 2 nodes available:
6
* node1 - Jboss 4.2.2
7
* node2 - Jboss 5.1
8
9 3 chin-yeh
10
h2. Add URL mapping
11
12
Those URL mapping which forwards requests to Jboss.
13
14 4 chin-yeh
# Edit @/opt/httpd-2.2.26/conf/uriworkermap.properties@
15
<pre>
16
vi /opt/httpd-2.2.26/conf/uriworkermap.properties
17
</pre>
18 3 chin-yeh
# Specify context, e.g. @/test-web-app/*@
19
Example:
20
<pre>
21
# Mount the Servlet context to the ajp13 worker
22
/jmx-console=node1
23
/jmx-console/*=node1
24
/web-console=node1
25
/web-console/*=node1
26
27
# monitor-app application
28
/monitor-app/*=node1
29
30
</pre>