Questions tagged [ajp]

The Apache JServ Protocol is an efficient protocol to connect backend web servers to front end web servers.

The Apache JServ Protocol is an efficient protocol to connect backend web servers to front end web servers. It tries to be more efficient than HTTP by using header compression and preparsed data structures. AJP is mostly used to run a Tomcat backend web server behind an Apache frontend web server but there are no restrictions in the protocol to limit it to these servers.

Referencens

251 questions
1
vote
1 answer

Apache reverse proxy using AJP with Tomcat 302 redirects

I'm completely out of ideas with this one and think I need to enlist the help of someone with a good understanding of Apache HTTPD (2.4) and Tomcat (8.5) I have a Spring MVC 4 web app that works perfectly well when I bypass the proxy to access it,…
Paul
  • 328
  • 3
  • 16
1
vote
0 answers

Apache front-end with tomcat backend running REST service,(CXF Container), 500 internal error

When I check the logs, I see that the application request was redirected to tomcat properly and the rest service executed. The rest service returns a http status code 400 on error, with a list of errors passed in a json string in the response body.…
1
vote
1 answer

AJP and SSL communication to application server

I have a client which access server through HTTPS. The server is a Java based web application running in WildFly application server. Now I need to put a apache proxy between client and server and I need to set AJP (usually port 8009) to my…
user1563721
  • 1,373
  • 3
  • 28
  • 46
1
vote
0 answers

Can i use tomcat ajp connector without using fronted tomcat?

I am creating some standalone web application with java spring using a tomcat web server in a container. Can some one give me a example to use a ajp conncetor? My further destination is to connect my web-application with tls. Maybe you have some…
Mira Mira
  • 1,385
  • 3
  • 11
  • 18
1
vote
1 answer

JIRA and Confluence both running with AJP protocol - How to?

I have a server running the following apps: JIRA Confluence Each application has its own subdomain. jira.thelavender.net wiki.thelavender.net I have managed to get JIRA working with its subdomain by configuring my VirtualHost as…
Martin
  • 311
  • 1
  • 2
  • 20
1
vote
1 answer

org.apache.coyote.ajp.AjpMessage.processHeader Invalid message received with signature 18245

Occasionally we see the following in the Tomcat logs: SEVERE [ajp-nio-8009-exec-3] org.apache.coyote.ajp.AjpMessage.processHeader Invalid message received with signature 18245 Any thoughts on what could be causing this?
Saqib Ali
  • 3,953
  • 10
  • 55
  • 100
1
vote
1 answer

apache mod_jk.so start up Permission denied

I am trying to configure mod_jk in Apache 2.2.3 to connect with Tomcat 7. OS is CentOS 5 After all the configuration, while starting the Apache httpd I am getting - Starting httpd: httpd: Syntax error on line 200 of /etc/httpd/conf/httpd.conf:…
Debopam Mitra
  • 1,842
  • 4
  • 27
  • 51
1
vote
1 answer

Bitnami Tomcat stack Connection timeout

Using bitnami tomcat stack(Apache + Tomcat) under AWS. Everything was perfect until now. One of the new functionality in Webapps requires more then 2mins of waiting time to get it done. But before execution stops Apache sends HTTP-500 error. When…
arvindwill
  • 1,960
  • 1
  • 23
  • 39
1
vote
1 answer

Prevent Tomcat from serving static resources

I have an Apache web server for static content and a Tomcat server with some servlets. Apache serves the static resources included in the WAR but from an external directory copied from the deployed WAR directory, not from the deployed WAR directory…
IsidroGH
  • 2,037
  • 19
  • 27
1
vote
2 answers

How to override scheme and is_ssl in apache HTTP Server for mod_proxy_ajp

We are running Tomcat 7 behind a load balancer that works also as SSL terminator, and an Apache HTTP Server 2.4. The Apache connects to the Tomcat via mod_proxy_ajp. For the application it is important that Tomcat is aware that the request is…
Dr. Hans-Peter Störr
  • 25,298
  • 30
  • 102
  • 139
1
vote
1 answer

apache 2.4 AJP proxy not working

I am trying configure my Apache 2.4 to connect to my backend Tomcat 8.0.28. in my Mac OS X El Capitan. I used NameBased VirtualHost with AJP support. config file apache_serviceproxy.conf located: /Library/Server/Web/Config/Proxy
cidy.long
  • 417
  • 12
  • 35
1
vote
1 answer

jsf resources inproperly resolved via ajp connector

I have application in JSF2 (using Primefaces). I resolve url to resources using h:outputStylesheet, so links to my css look like: /project/javax.faces.resource/style.css.xhtml?ln=css When I deploy project on tomcat on my server everything works…
gawi
  • 2,843
  • 4
  • 29
  • 44
1
vote
1 answer

Amazon Load Balancer sticky sessions with ajp:8009

We configured ELB with sticky sessions for the JSESSIONID cookie for two tomcats (tomcat1 and tomcat2)(Flow is - Apache Http Server - ELB - tomcats) AJP protocol with port 8009 has been configured on tomcat side as from AWS ELB there is no AJP…
1
vote
0 answers

Howto Configure Apache SSL and Tomcat in different servers?

I am trying to configure a redirection from Apache to Tomcat, but with the difference that both Apache and Tomcat are installed in two different machines. I have got this working fine already using mod_jk (under Ubuntu Server 14), however issue…
user3532839
  • 31
  • 1
  • 4
1
vote
0 answers

How to decrease AJP threads with custom log4j layout class

I have written a custom jar to be called from log4j that will mask sensitive data before being written log log. The class works as expected but now my ajp threads have increased 5x. In log4j I just changed: -layout…
Benny
  • 11
  • 2