Hi,
I've successfully installed and configured apache and 2 tomcats using mod_jk.
Unfortunately the load balancing works without session affinity between my 2 tomcat
instances. I discovered the issue by calling the following link:
/examples/servlet/SessionExample. I keep getting switch between my 2 tomcat instances.
I know that my jvmRoute attribute is properly set as I see it appended on the
generated session id. Can some help me in figuring out what I am missing. I know I
am pretty close to have a working setup!
The only odd thing about my setup is that there is a firewall between apache and
tomact:
OS on all machine: Linux
WebServer: apache v1.3.26
Java: Sun v1.3.1_01
Tomcat: v4.0.2
The following is all my configuration files used in my current setup and a portion of
mod_jk.log related to my http requests.
Thanks, I remain.
Robert Chartier
=================== http.conf ===========================
# Load JK module
LoadModule jk_module libexec/mod_jk.so
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
....skip...
JkMount /qacm/* loadbalancer
JkMount /qats/* loadbalancer
JkMount /manager/* loadbalancer
JkMount /examples/* loadbalancer
=================== workers.properties =====================
# In Unix, we use forward slashes:
ps=/
# list the workers by name
worker.list=appsrv01, appsrv03, loadbalancer
# ------------------------
# First tomcat server
# ------------------------
worker.appsrv01.port=8009
worker.appsrv01.host=appsrv01
worker.appsrv01.type=ajp13
# Specify the size of the open connection cache.
#worker.appsrv01.cachesize
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# ----> lbfactor must be > 0
# ----> Low lbfactor means less work done by the worker.
worker.appsrv01.lbfactor=100
# ------------------------
# Second tomcat server
# ------------------------
worker.appsrv03.port=8009
worker.appsrv03.host=appsrv03
worker.appsrv03.type=ajp13
# Specify the size of the open connection cache.
#worker.appsrv03.cachesize
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# ----> lbfactor must be > 0
# ----> Low lbfactor means less work done by the worker.
worker.appsrv03.lbfactor=100
# ------------------------
# Load Balancer worker
# ------------------------
#
# The loadbalancer (type lb) worker performs weighted round-robin
# load balancing with sticky sessions.
# Note:
# ----> If a worker dies, the load balancer will check its state
# once in a while. Until then all work is redirected to peer
# worker.
# ex: worker.loadbalancer.balanced_workers=work1, work2, work3
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=appsrv01, appsrv03
#
# END workers.properties
====================== Tomcat server.xml =============================
<!-- Example Server Configuration File -->
<!-- Note that component elements are nested corresponding to their
parent-child relationships with each other -->
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Tomcat-Standalone">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 4.0 documentation bundle for more detailed
instructions):
* Download and install JSSE 1.0.2 or later, and put the JAR files
into "$JAVA_HOME/jre/lib/ext".
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and
the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="1" maxProcessors="15"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="15" maxProcessors="75"
enableLookups="false" acceptCount="30" debug="0"/>
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- Define the top level container in our container hierarchy -->
<Engine jvmRoute="3" name="Standalone" defaultHost="localhost" debug="0">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.3
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority?user=test;password=test"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL?user=scott;password=tiger"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:CATALINA"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common"/>
<!-- Logger shared by all Contexts related to this virtual host. By
default (when using FileLogger), log files are created in the "logs"
directory relative to $CATALINA_HOME. If you wish, you can specify
a different directory with the "directory" attribute. Specify either a
relative (to $CATALINA_HOME) or absolute path to the desired
directory.-->
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<!-- Define properties for each web application. This is only needed
if you want to set non-default properties, or have web application
document roots in places other than the virtual host's appBase
directory. -->
<!-- Tomcat Manager Context -->
<Context path="/manager" docBase="manager"
debug="0" privileged="true"/>
</Host>
</Engine>
</Service>
</Server>
========================= mod_jk.log (sample of my request live)
================================
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI
'/examples/servlet/SessionExample'
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer -
> /examples/
[Wed Jul 17 14:50:54 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name
loadbalancer
[Wed Jul 17 14:50:54 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a
worker
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (471)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (300)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #372
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to
send 0 - request body to resend 0
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #89
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 200
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of
headers is = 2
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0]
[Content-Type] = [text/html]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[1]
[Set-Cookie] = [JSESSIONID=83E20252DC1AD0B210A215
A18BAECB1A.3;Path=/examples]
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #1146
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (378)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI
'/examples/images/code.gif'
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer -
> /examples/
[Wed Jul 17 14:50:54 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name
loadbalancer
[Wed Jul 17 14:50:54 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a
worker
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (471)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (300)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #368
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to
send 0 - request body to resend 0
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #95
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 200
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of
headers is = 4
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0]
[Content-Type] = [image/gif]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[1]
[Content-Length] = [292]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[2]
[Last-Modified] = [Tue, 14 May 2002 18:46:50 GMT]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[3]
[ETag] = ["292-1021402010000"]
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #296
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (378)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI
'/examples/images/return.gif'
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer -
> /examples/
[Wed Jul 17 14:50:54 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name
loadbalancer
[Wed Jul 17 14:50:54 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a
worker
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (471)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (300)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #370
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to
send 0 - request body to resend 0
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #97
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 200
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of
headers is = 4
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0]
[Content-Type] = [image/gif]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[1]
[Content-Length] = [1231]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[2]
[Last-Modified] = [Tue, 14 May 2002 18:46:50 GMT]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[3]
[ETag] = ["1231-1021402010000"]
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #1235
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (378)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI
'/examples/servlet/SessionExample'
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer -
> /examples/
[Wed Jul 17 14:50:54 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name
loadbalancer
[Wed Jul 17 14:50:54 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a
worker
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (471)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (300)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #372
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to
send 0 - request body to resend 0
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #24
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 200
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of
headers is = 1
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0]
[Content-Type] = [text/html]
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #1146
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (378)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI
'/examples/images/return.gif'
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer -
> /examples/
[Wed Jul 17 14:50:54 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name
loadbalancer
[Wed Jul 17 14:50:54 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a
worker
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (471)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (300)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #370
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to
send 0 - request body to resend 0
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #97
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 200
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of
headers is = 4
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0]
[Content-Type] = [image/gif]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[1]
[Content-Length] = [1231]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[2]
[Last-Modified] = [Tue, 14 May 2002 18:46:50 GMT]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[3]
[ETag] = ["1231-1021402010000"]
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #1235
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (378)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI
'/examples/images/code.gif'
[Wed Jul 17 14:50:54 2002] [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer -
> /examples/
[Wed Jul 17 14:50:54 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name
loadbalancer
[Wed Jul 17 14:50:54 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a
worker
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (471)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (300)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #368
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to
send 0 - request body to resend 0
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #95
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 200
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of
headers is = 4
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0]
[Content-Type] = [image/gif]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[1]
[Content-Length] = [292]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[2]
[Last-Modified] = [Tue, 14 May 2002 18:46:50 GMT]
[Wed Jul 17 14:50:54 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[3]
[ETag] = ["292-1021402010000"]
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #296
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Jul 17 14:50:54 2002] [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:54 2002] [jk_lb_worker.c (378)]: Into jk_endpoint_t::done
[Wed Jul 17 14:50:55 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 17 14:50:55 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI
'/examples/servlet/SessionExample'
[Wed Jul 17 14:50:55 2002] [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer -
> /examples/
[Wed Jul 17 14:50:55 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name
loadbalancer
[Wed Jul 17 14:50:55 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a
worker
[Wed Jul 17 14:50:55 2002] [jk_lb_worker.c (471)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:55 2002] [jk_lb_worker.c (300)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:55 2002] [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Jul 17 14:50:55 2002] [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Jul 17 14:50:55 2002] [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Jul 17 14:50:55 2002] [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Jul 17 14:50:55 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #372
[Wed Jul 17 14:50:55 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to
send 0 - request body to resend 0
[Wed Jul 17 14:50:55 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #24
[Wed Jul 17 14:50:55 2002] [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 200
[Wed Jul 17 14:50:55 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of
headers is = 1
[Wed Jul 17 14:50:55 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0]
[Content-Type] = [text/html]
[Wed Jul 17 14:50:55 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #1146
[Wed Jul 17 14:50:55 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
...skipping...
[Wed Jul 17 14:51:29 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of
headers is = 2
[Wed Jul 17 14:51:29 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0]
[Content-Type] = [text/html]
[Wed Jul 17 14:51:29 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[1]
[Set-Cookie] = [JSESSIONID=D99E229D9DD9FB7F8DBD22
C24584228E.1;Path=/examples]
[Wed Jul 17 14:51:29 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #1146
[Wed Jul 17 14:51:29 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Jul 17 14:51:29 2002] [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
[Wed Jul 17 14:51:29 2002] [jk_lb_worker.c (378)]: Into jk_endpoint_t::done
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>