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/Tomcat: Tomcats on backend cannot be reached by apache using mod_jk

Trying to configure Tomcat8.5 as backend and Apache2.4 for receiving requests to redirect it to tomcat via ajp port on Linux/CentOS. The tomcats can be reached directly via Port. 8181, 8282, 8383 and apache works as well fine. However, I cannot…
ng-User
  • 243
  • 1
  • 6
  • 18
1
vote
1 answer

Misssing ServerSocketFactory in tomcat 8.5

As per the below link https://github.com/spring-projects/spring-boot/issues/6164, the following features are removed from tomcat 8.5 a) Class org.apache.tomcat.util.net.ServerSocketFactory no longer exists b) Class…
George Thomas
  • 67
  • 1
  • 12
1
vote
1 answer

mod_proxy_ajp AJP_ attributes are present but not shown from request.getAttributeNames()

AJP_ attributes sent from apache mod_proxy_ajp to tomcat ajp connector can be retrieved with java code like String attributeValue = request.getAttribute(attributeName); Doing so, I have seen that these forwarded attributeNames are not listed in the…
1
vote
2 answers

AJP in containerised Spring boot app doesn't work

I'm trying to use AJP protocol to communicate with the app created using Spring Boot 2.2.6 with embedded Tomcat and containerised using this official guide. My server uses Apache Server to proxy all requests to different apps and containerised…
Krzysztof Skrzynecki
  • 2,345
  • 27
  • 39
1
vote
1 answer

Setup crafter cms studio for access via apache web server proxy and ajp connector

I need to setup crafter cms studio within the authoring part to be able to access from remote host (e.g. VPS). I'm using Tomcat ajp connector via Apache web server proxy. I've tried do it like adding the virtual host:
baltazarr
  • 11
  • 2
1
vote
1 answer

Apache mod_proxy_ajp module prematurely sending traffic to spare backend server

We've got a pair of Apache 2.4 web servers (web02, web03) running mod_proxy_ajp talking to a pair of Tomcat 7.0.59 servers (app02, app03). The Tomcat server on app03 is a standby server that should not get traffic unless app02 is completely…
kernelpanic
  • 1,158
  • 5
  • 17
  • 36
1
vote
0 answers

Web socket support for Microsoft IIS (ISAPI redirector + AJPv13) + Tomcat 8

In one of our projects we wanted to start using web socket in a spring boot application and wanted to know if web socket are supported in our deployment model. We use IIS as web server which is configured to use ISAPI redirector and AJPv13 connector…
Madala
  • 291
  • 3
  • 8
1
vote
0 answers

Connection refused due to AJP failed to make connection to backend

While running application in my local, It starts properly first time. But when I restart again, It shows : (111)Connection refused: proxy: AJP: attempt to connect to 192.168.1.182:8009 (docker.reverse.host) failed [Thu Feb 14 06:41:51 2019]…
mridul deka
  • 13
  • 2
  • 13
1
vote
2 answers

Rewrite authenticated Apache2.2 user for mod_proxy_ajp

I have a Tomcat connected via mod_proxy_ajp to an Apache2.2 instance. Apache does the authentication via mod_auth_kerb, and Tomcat uses request.getRemoteUser() to get the authenticated user. This basically works, but I want to rewrite the user.…
Michael Böckling
  • 7,341
  • 6
  • 55
  • 76
1
vote
0 answers

IIS Server to tomcat communication >Websockets are not supported by AJP protocol,

We have installed IIS Server in front of tomcat server, now browser request hits IIS Server and then goes to tomcat. Everything is working fine for http request but for websocket I am getting exception in the backed as HTTP Upgrade is not…
SumitG
  • 11
  • 2
1
vote
1 answer

invalid message signature AJP 514

We are facing issue with the large request-header. Recently we came to know that some of the large cookies got sent to the server which goes beyond the default limit of 8192. We tried to bump max_packet_size in workers.properies(mod_jk) as well as…
DKS
  • 21
  • 1
  • 4
1
vote
1 answer

Apache AJP, ProxyPass : How to set the Host header

I'm trying to figure out a way to set the "Host" header content during a ProxyPass for AJP. Here is my working conf with HTTP : ProxyRequests off ProxyPreserveHost off ServerName my-external-domain ErrorLog…
xalo
  • 285
  • 1
  • 10
1
vote
4 answers

python web app in prod

I am considering to use python serving json based web services, my priorities are, in order: maintainability easy of coding high availability performance Apache->AJP->Flup->Python seems ok to me, would you recommend another setup or is this ok ?
mete
  • 589
  • 2
  • 6
  • 17
1
vote
0 answers

Forward IIS NTLM Authentication Inside Tomcat to Another Service

I have an architecture like the following one: IIS(Windows Authentication Enabled) -> AJP Connector -> Tomcat AJP Connector in server.xml is configured with tomcatAuthorization = true and tomcatAuthentication = false Inside tomcat, I am able to get…
Tonino
  • 1,137
  • 10
  • 25
1
vote
1 answer

Avoid 302 Redirects through Apache

Hello I have a confluence installation running on tomcat. In front of tomcat I have an apache server. When I go to my page a 302 to /homepage.action is done and afterwards a redirect to the start space set in confluence and then a third redirect to…
Christian
  • 3,503
  • 1
  • 26
  • 47