-
1. Re: Configuring Apach & mod_jk for Cluster
ged Jul 7, 2003 2:39 AM (in response to jackpot)Hello.
This is what I have in my httpd.conf file and it is working:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll
Regards,
Daniel -
2. Re: Configuring Apach & mod_jk for Cluster
chgrimm Jul 7, 2003 3:35 AM (in response to jackpot)the mod_j2 dokumentation on the jakarta site is outdated.
you find a detailed description in the newest source distro of mod_jk2 in directory jk\build\docs\jk2\
some minimal steps to get it running:
1. Load the module in httpd.conf
LoadModule jk2_module modules/mod_jk2-2.0.43.dll
beware the the module's name is 'jk2_module' and not 'jk_module' as discribed in the latest cluster docu.
2. create a file named workers2.properties in the apache conf directory with teh following content:
__
#shared memory config
[shm]
file=logs/shm.file
size=1048576
#define a channel
[channel.socket:localhost:8009]
tomcatId=localhost:8009
#define a worker using the channel
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
#tell the loadbalancer to use the worker
[lb:0]
worker=ajp13:localhost:8009
#map everythingto the default loadbalancer
[uri:/*]
__
there are even simpler ways to configure it, but this way you can take it as a starting point to do loadbalancing.
to add an other tomcat (or jboss) instance:
- define the apropriate channel and worker defs
- add the worker to the loadbalancer
inthe example above, i have omitted all default settings.
the settings are specified in the file jk\build\docs\jk2\configtc.html in the source distro. -
3. Re: Configuring Apach & mod_jk for Cluster
slaboure Jul 8, 2003 12:57 PM (in response to jackpot)> beware the the module's name is 'jk2_module' and not 'jk_module' as discribed in the latest cluster docu.
Thanks, I will modify the doco.
cheers,
sacha -
4. Re: Configuring Apach & mod_jk for Cluster
chengccs Nov 23, 2003 10:37 AM (in response to jackpot)>> beware the the module's name is 'jk2_module' and >>not 'jk_module' as discribed in the latest cluster docu.
> Thanks, I will modify the doco.
> cheers,
> sacha
I just bought the "HTTP Session Clustering" and it seems that the ch.6 still hasn't been updated. So, is there any updated version for me/us to download?
Thanks,
Stanley