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

closed as off-topic by Jeff Schaller, jimmij, cas, MelBurslan, garethTheRed Jun 21 at 17:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, jimmij, cas, MelBurslan, garethTheRed
If this question can be reworded to fit the rules in the help center, please edit the question.

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

share|improve this answer

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