>
> You attachment did not go thru so I was wondering if you could
> paste it into an email an repost.
>
Yes, here it is, search for the string "Load balancing" and you will find
it
Gal Shachor
###############################################################################
# Apache JServ Configuration File
#
###############################################################################
# Note: this file should be appended or included into your httpd.conf
# Tell Apache on win32 to load the Apache JServ communication module
LoadModule jserv_module modules/ApacheModuleJServ.dll
# Tell Apache on Unix to load the Apache JServ communication module
# For shared object builds only!!!
# @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
# LoadModule jserv_module libexec/mod_jserv.so
<IfModule mod_jserv.c>
# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel debug
### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 8007
#
# Load balancing stuff...
#
# Setup two tomcat processes to serve /examples.
# Read http://java.apache.org/jserv/howto.load-balancing.html
# for more information
#
ApJServBalance set1 PC1
ApJServBalance set1 PC2
ApJServHost PC1 ajpv12://localhost:8007
ApJServHost PC2 ajpv12://localhost:8009
ApJServRoute JS1 PC1
ApJServRoute JS2 PC2
ApJServShmFile log/jserv_shm
#################### All jsp files will go to tomcat ####################
ApJServMount default /root
AddType test/jsp .jsp
AddHandler jserv-servlet .jsp
############################## Context mapping - all requests go to tomcat
# ApJServMount /examples /root
ApJServMount /examples balance://set1/root
############################## Context mapping - you need to "deploy"
# ( copy or ln -s ) the context into htdocs
##
# ApJservMount /CONTEXT/servlet /root
# <Location /CONTEXT/WEB-INF/ >
# AllowOverride None
# deny from all
# </Location>
</IfModule>
-------------------------------
Gal Shachor
IBM Research, Haifa Lab.
Email: shachor@il.ibm.com
Notes: Gal Shachor/Haifa/IBM@IBMIL
Phone: +972-4-8296164
Fax: +972-4-8550070
Address: IBM Haifa Research Lab, Matam, Haifa 31905, Israel
|