View Single Post
  #12  
Old 30th May 2006, 23:50
leorulez leorulez is offline
Junior Member
 
Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

1) In http://host:8080/ both jsp examples and servlet examples are working

2) workers.properties file.. I have already posted this before. Let me post it again

workers.tomcat_home=/usr/local/tomcat/
workers.java_home=/usr/java/j2sdk1.4.2_06/
ps=/
worker.list=worker1
worker.default.port=8009
worker.default.host=hostname
worker.default.type=ajp13
worker.default.lbfactor=1

I replaced hostname with the real hostname (eg. abc.edu)

3) The fifteen last lines of your /etc/apache2/apache2.conf

I assume this is httpd.conf
But the last 15 lines are related to section 3: virtual hosts. I am posting the last few lines from Section 2: Main server configuration

JkWorkersFile "/etc/httpd/workers.properties"
JkLogFile "/etc/httpd/logs/mod_jk.log"
JkLogLevel info
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"
# Send servlet for context / jsp-examples to worker named worker1
JkMount /jsp-examples worker1
# Send JSPs for context /jsp-examples/* to worker named worker1
JkMount /jsp-examples/* worker1


Thanks
Reply With Quote