Author |
|
SMc
Joined: 12 Feb 2006 Posts: 17 Location: Chelmsford, UK
|
Posted: Thu 23 Feb '06 21:16 Post subject: Apache 2.2 Tomcat 5.5 now needs mod_proxy_ajp |
|
|
Hi,
My server setup was working perfectly with Apache 2.0.55 and mod_jk.
I upgraded to Apache 2.2 Then the mod_jk no longer worked. I read it is now necessary to use mod_proxy_ajp instead.
However, trawl as I may, I can find no support for the configuration of this setup. I have cobbled together the best I can, but I cannot get Tomcat to serve any pages at all.
Any friends out their that would care to share the necessary snippets of the apache and tomcat configuration files to set up Tomcat under Apache
Much appreciated !
SMc
Last edited by SMc on Fri 24 Feb '06 11:15; edited 1 time in total |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Fri 24 Feb '06 0:10 Post subject: |
|
|
Indeed in the Apache docu no clue to configure it.
Did you try ?
ProxyPass / ajp://mydomain.com/
Steffen |
|
Back to top |
|
SMc
Joined: 12 Feb 2006 Posts: 17 Location: Chelmsford, UK
|
Posted: Fri 24 Feb '06 0:29 Post subject: |
|
|
Yep, miserable failure I'm afraid. There must be something I am missing.
I have spent too much time on it already !
I have switched strategy back to serving direct from Tomcat. I believe I can set up virtual hosts under Tomcat.
I have got so much to do that I cant afford to battle it out. I will wait until the support for Apache 2.2 catches up with the release...
If it is this tricky to find out the basics, god knows what would happen if I was live and something blew up....!
SMc (Pathetic Quitter!) |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
SMc
Joined: 12 Feb 2006 Posts: 17 Location: Chelmsford, UK
|
Posted: Fri 24 Feb '06 11:13 Post subject: |
|
|
...well I read that using the http proxy was very slow compared to using ajp, and that it would be quicker to use Tomcat directly.....
Most of my site is generated by JSP and servlets so if I do want to run Tomcat under Apache HTTP then it has to be done in the most effiecient way. Mod_jk seemed to work pretty well.... |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Fri 24 Feb '06 12:20 Post subject: |
|
|
You can download mod_jk 1.2.15 for 2.2.0 at : Removed .
Steffen |
|
Back to top |
|
SMc
Joined: 12 Feb 2006 Posts: 17 Location: Chelmsford, UK
|
Posted: Fri 24 Feb '06 13:11 Post subject: |
|
|
..thanks Steffen,
...that looks useful. I will substitute that in for the mod_jk 2.0.55 and see if it works with the same workers property file...
Regards,
SMc |
|
Back to top |
|