Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 19th July 2010, 11:21
Sree007 Sree007 is offline
Junior Member
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to set a persistent session set-up using apache-tomcat load balancing?


Can anybody help me to set-up persistent session using apache-tomcat load balance. The worker files on the web server is shown below

worker.worker1.host=”ip of instance1”
worker.worker2.host=”ip of instance2”
worker.balancer.balance_workers=worker1, worker2

and and i have editted the apache configuration file as below

JkShmFile “/etc/httpd/logs/mod_jk.shm”
JkWorkersFile “/etc/httpd/conf/jkworkers.properties”
JkLogFile “/etc/httpd/logs/mod_jk.log”
# Select the log format
JkLogStampFormat “[%a %b %d %H:%M:%S %Y] ”
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat “%w %V %T”

JkMount /jsp-examples workers
JkMount /jsp-examples/* workers
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Up A Loadbalanced High-Availability Apache Cluster gg234 HOWTO-Related Questions 23 9th May 2007 19:45
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29
Can you load balance all ISPConfig Services, including Apache? Jcorrea920 General 6 10th June 2006 00:07
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 01:45

All times are GMT +2. The time now is 19:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.