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.

closed as off-topic by Jeff Schaller, jimmij, cas, MelBurslan, garethTheRed Jun 21 '16 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

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