Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

integrating tomcat 5.5.23 with apache 2.0.59

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried following Scott L Holmes "Building a better development environment in 10 easy steps" using Apache 2- Tomcat 5 - mod_jk -XP
after step 10 apache will not start-I can't find his blog to ask him
and the books I have don't seem to be for my set-up.
windows home xp sp2
jre1.5.0_12
jre1.5.0_12
tomcat 5.5.23
apache 2.0.59
mod-jk-apache-2.0.59.so binary
I have no problem with running both tomcat and apache seperately but when
I try to use mod_jk to connect them apache fails to start
steps:
copy binary mod_jk-apache-2.0.55.so(download site said to use above mod_jk
with apache 2.0.59) to Apache's modules folder then rename it mod_jk.so
edit tomcat's server.xml right above <\engine> add

<Listener className="org.apache.jk.config.ApacheConfig"
modJk="c:/path to/Apache2/modules/mod_jk.so" />

restart tomcat and it creates C:/path to tomcat/conf/auto/mod_jk.conf
the following file

<IfModule !mod_jk.c>
LoadModule jk_module "c:/use5/apache/Apache2/modules/mod_jk.so"
</IfModule>


<VirtualHost localhost>
ServerName localhost

JkMount /host-manager ajp13
JkMount /host-manager/* ajp13

JkMount /tomcat-docs ajp13
JkMount /tomcat-docs/* ajp13

JkMount /manager ajp13
JkMount /manager/* ajp13
</VirtualHost>

edit Apache's conf by adding to the bottom of file
Include c:/path to tomcat/conf/auto/mod_jk.conf
restart Apache
Thanks for any help
Dave Landes
 
author and iconoclast
Posts: 24204
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

We've got a Tomcat forum, where this really belongs. I'll move it there for you.
 
That new kid is a freak. Show him this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic