tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kane <k...@freebsd-uk.eu.org>
Subject Re: mod_jserv load balancing setup
Date Thu, 01 Jan 1970 00:00:00 GMT
Joy Su:

  I am using mod_jserv's load balancing, and Tomcat's worker is not very
stable, I have tried setting them.

  Our configuration is as follows:

  1 Apache  :  configured by httpd.conf and tomcat.conf (see in attachments)  
  2 Tomcat  :  just setting context,we set it as "apps"

  httpd.conf and tomcat.conf are placed in the server running Apache.

Following is part of the tomcat.conf
##########################################
LoadModule jserv_module libexec/mod_jserv.so
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice

ApJServDefaultPort 8007

ApJServMount /apps balance://set1/apps

ApJServBalance set1  app201
ApJServBalance set1  app202

ApJServHost app201 ajpv12://10.1.1.201:8007
ApJServHost app202 ajpv12://10.1.1.202:8007

ApJServRoute JS1 app201
ApJServRoute JS2 app202

ApJServShmFile log/jserv_shm

AddType test/jsp .jsp
AddHandler jserv-servlet .jsp
##########################################


在 2000-10-11 18:30:00 您写道:
>Hi,
>
>I was wondering if someone could help me by clarifying what is necessary to
>set up Tomcat 3.1 with Apache & mod_jserv on Linux to do load balancing.  I
>was a little confused by the user documentation on the Tomcat website ....
>should I be doing all of my loadbalancing setup in workers.properties as per
>the "workers how-to" document?  Or do I need to make modifications
>elsewhere?
>
>Sorry this is such a basic question. I searched around the list a little to
>see if it had been answered, but couldn't find anything.  Any help would be
>greatly appreciated!
>
>Please cc: jsu@patkai.com, as I am not subscribed to this list.
>
>Thank you so much!

            Kane


Mime
View raw message