Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

206
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda