Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

204
Views
How to configure Apache to connect parallel two Tomcat Versions via AJP

I was not able any suitable solution on the web and all my trials result in failure.

My goal is to set up Tomcat9(TC9) while Tomcat7 (TC7) is still running, so I can configure and test the applications without any interference for the users. After I finished the configuration I want to switch to TC9 so the URLs of the webapps do not change and the Users won't notice the change.

I set up successfully TC9 with an AJP Connector Port on 8010 and I used the existing config file of the httpd and copied the /etc/httpd/conf.modules.d/00-tomcat7.conf to /etc/httpd/conf.modules.d/00-tomcat9.conf and edited accordingly

ProxyPass / ajp://localhost:8010/

However the old pass does not work anymore

ProxyPass / ajp://localhost:8009/

There might be a problem with the URL as I implemented it like so: https:////

I had several attempts with configuration of the ProxPass like

ProxyPass /<webappgroup1> ajp://localhost:8009/<webappgroup1>

ProxyPass /<webappgroup2> ajp://localhost:8010/<webappgroup2>

But how does the actual endpoint URL look like and do I need to deploy my webapps still as #.war?

however like this I always get the Browser Error This site could not be found.

I don't know in which logs i could find more Information what is going wrong.

An example for the ProxyPass config or input of any kind is very much appreciated.

Thanks in advance!

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!