• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

apache tomcat - integration

 
yegappan ramaiah
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iam trying to integrate apache 1.3.29 with tomcat 4.0 via mod_jk.... it is said to create 2 dirs namely jk and auto, which doesnt happen, anyone can help?? also i need help on creating worker.properties file, thanx in advance.
 
Daniil Sosonkin
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Get mod_jk binary or compile yourself.
Configure files like this:
httpd.conf:
Include conf/tomcat/mod_jk.conf
Create tomcat/mod_jk.conf with following:
##################################
# Load mod_jk module
LoadModule jk_module modules/mod_jk-1.3.27.dll
# Declare the module for <IfModule directive>
AddModule mod_jk.c
# Where to find workers.properties
JkWorkersFile conf/tomcat/workers.properties
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel error
# 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"
#################################### DONE
Create tomcat/workers.properties with this:
##########################################
# Worker definition
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
########################################## DONE
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic