Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to integrate apache and tomcat. I thus want apache to forward requests to tomcat. I am using the mod_jk module for apache to achieve this.

So far I am trying to get tomcat to auto-gen the configuration files for the mod_jk - I add the relevant to my server.xml

<Listener className="org.apache.jk.config.ApacheConfig" modJk="/usr/lib/apache2/modules/mod_jk.so" />

This does not however work.

Please could someone that has done this recently give me some direction. I suspect that a lot of the documentation is for old versions of apache and tomcat.

share|improve this question

Okay, I got it. You have to include the worker.properties before it will generate the mod_jk.conf

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.