wood burning stoves*
The moose likes Tomcat and the fly likes apache tomcat - integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "apache tomcat - integration" Watch "apache tomcat - integration" New topic
Author

apache tomcat - integration

yegappan ramaiah
Greenhorn

Joined: Dec 29, 2003
Posts: 27
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

Joined: Jan 15, 2004
Posts: 76
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: apache tomcat - integration