Questions tagged [ajp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
60 views

Tomcat connector for Internet Information Server not working

I am trying to configure a Internet Information Server to work with Tomcat and after following the steps in the website it's does not work. What is worst, no way to document or to realize where the ...
user avatar
  • 103
0 votes
1 answer
338 views

How can I test an ajp worker (tomcat10, apache 2.4.6)?

I have a simple server setup: Apache 2.4.6 JK Worker for talking with Tomcat, where a REST service is living Tomcat 10 Virtual Host In my virtual host file I have this configuration (snippet in <...
user avatar
  • 123
1 vote
0 answers
93 views

SSL offloading with IIS and Ajp (isapi) Tomcat

I have java web application running on tomcat on a Windows 2019 server. It runs fine on port 8180. I have a IIS (10.0) running on the same server with isapi_redirector 1.2.48 configured. Now I can ...
user avatar
  • 443
0 votes
2 answers
382 views

Can not access Tomcat servlet using httpd ajp proxy in Docker

Docker, httpd and tomcat is new to me. What I want to do: Access tomcat servlet through httpd ajp reverse proxy. I am making two containers under same bridge network, one runs httpd, another tomcat. ...
user avatar
0 votes
0 answers
55 views

Allow ajp traffic (Apache -> Tomcat) with iptables

Disclaimer: I am not an admin, but a programmer, who did not use iptable that much yet. I am using mod_jk with AJP13 for directing certain data traffic from Apache to Tomcat. Additionally I am trying ...
user avatar
  • 123
0 votes
1 answer
234 views

Apache mod_proxy_hcheck with AJP?

I have BalancerMembers using AJP with the mod_proxy_hcheck module; however, the health check requests are HTTP. The documentation doesn't seem to specify it only works with HTTP and the source does ...
user avatar
0 votes
0 answers
228 views

Application slowness due to Tomcat waiting for readLatch

we are getting issues reported by our clients that the application is slow at times, while checking the slow requests (using Glowroot) we could find quite a lot of threads getting stuck in org.apache....
user avatar
  • 51
3 votes
2 answers
1k views

How to pass secret in rewriterule to AJP protocol

I have a Apache server running 2.4.6, Tomcat 8.5.33 running lucee. We have rewrite rules that proxy to AJP on port 8009. ProxyPassReverse / ajp://localhost:8009/ timeout=3600 RewriteEngine On # ...
user avatar
0 votes
1 answer
550 views

How to use httpd (https/ssl) as proxy server for tomcat

I have installed httpd and tomcat on my server but somehow I'm not able to connect them. <VirtualHost *:80> ServerName www.harshrathod.dev ServerAlias harshrathod.dev ...
user avatar
0 votes
2 answers
2k views

tomcat 7.0.100 AJP connector with mod_jk on another host

After upgrading tomcat7 to 7.0.100, the AJP connector was only listening on 127.0.0.1. Initially I edited the wrong server.xml in /etc/tomcat7/server.xml which was not used. The right one is /var/lib/...
user avatar
  • 41
3 votes
2 answers
6k views

Getting error 403 with Tomcat 7.0.100 and Apache server 2.4 when using "secret" with AJP

Because of the bug CVE-2020-1938 we want to use the latest Tomcat 7.0.100. See also CVE-2020-1938 We also use an Apache server in version 2.4, which connects to the Tomcat via AJP. The latest Tomcat ...
user avatar
  • 33
5 votes
1 answer
20k views

setting up AJP secret between Apache and Tomcat

I'm having trouble setting up a secret between Apache (2.4.41) and Tomcat (7.0.99). I think I have it setup correctly in Tomcat (server.xml): <Connector ... secretRequired="true" secret="123" />...
user avatar
  • 153
1 vote
1 answer
3k views

Apache Tomcat communication problems. Performance is exteme slow

Apache Version 2.4.34 (Win64) Apache Tomcat 6.0.44 Windows Server 2016 Standard Version 1607 After a certain period (1-2 hours). Application Performance becomes extremely poor and some time leads to ...
user avatar
  • 11
0 votes
1 answer
132 views

Why tomcat AJP connector need to send GET_BODY_CHUNK message to Apache mod_jk

Why tomcat AJP connector need to send GET_BODY_CHUNK message to Apache mod_jk while reading request body. Why doesn’t it make use of Request Content-Length header already sent to it to decide how much ...
user avatar
0 votes
2 answers
12k views

Connection reset by peer: ajp_ilink_receive() can't receive header

I am seeing this in Liferay 6 (a Tomcat-based clustered webapp)'s log: APR does not understand this error code: proxy: read response failed from [::1]:8009 (localhost) The timeout specified has ...
user avatar
1 vote
0 answers
205 views

AJP monitoring in Apache 2.2 and Wildfly

I need to monitor the AJP connections Apache 2.2 has with Wildfly 8.2.1, but it seems that jboss-cli does not have this metric and I don't know if this is possible in Apache. Any ideas?
user avatar
  • 113
2 votes
2 answers
2k views

Apache Cluster + Tomcat websocket

We've recently configured a new Cluster with the following configuration: www.mydomain.com | APACHE + MOD_JK (AJP) Load Balancer / \ Tomcat1 ...
user avatar
2 votes
2 answers
5k views

Apache 2.4 set ProxyTimeout only for ONE URL

I have an issue with Apache proxies. I was asked to let the connection between Apache and the web client opened, because we are working on SSE. The problem is that by default the timeout is 60secs. I ...
user avatar
  • 45
1 vote
3 answers
1k views

What should be configured in AJP proxy configuration?

I have Apache HTTPD server in our product and I need to add the AJP proxy to some specific application. The Tomcat AJP port is 8009 and the Tomcat HTTP port is 8080 (the SSL termination is in Apache)....
user avatar
  • 587
0 votes
1 answer
122 views

Redirecting from PHP-based web servers to ELB and tomcat applications

I have an AWS deployment where I have a web-server (serving a PHP-based website) and an application server (serving JSP/Tomcat based applications). The redirection from the webserver to the ...
user avatar
  • 201
1 vote
0 answers
788 views

Unable to Get Remote-User value

Fronting tomcat with Apache Ldap authentication . I can see through TCP DUMP that my http header sending remote_user:..RICHARD to tomcat. I have tried Both mod_AJP and mod_HTTP but can't print the ...
user avatar
  • 111
0 votes
1 answer
207 views

Unable to retrieve login information using AJP

We are using Apache for LDAP Authentication for webservices defined in tomcat. Using AJP Connector for proxypass, proxyserverpass. The problem we are facing is that we are unable to retrieve User ...
user avatar
  • 111
0 votes
0 answers
3k views

Why is my ProxyTimeout setting not working in my Apache/AJP configuration?

I’m using Apache 2.2 and JBoss 7.1.3.Final. I’m connected to JBoss from Apache via AJP. Below is my configuration … ProxyPass /cloudfront/ ajp://localhost:8009/cloudfront/ ProxyPass /app1/...
user avatar
  • 155
2 votes
0 answers
522 views

Apache + MOD_JK: Rewriting URLs + ProxyPassing thorugh AJP

I've a frontal server with Apache 2.4.23 deployed + OpenSSL 1.0.2j. Then I've another server with Tomcat 7 installed. The idea is that Apache has a VHOST on *:443, which uses ProxyPass to send the ...
user avatar
1 vote
0 answers
95 views

IIS and Tomcat: mixed content

I'm trying to setup a site in IIS that is serving a webapp running in Tomcat, as well as content in HTML, PHP and JS. I'd like to have all content available under one domain. I was following this ...
user avatar
  • 11
0 votes
0 answers
782 views

apache 2.4 ajp and virtual host not working

I have Centos 7 , Httpd Apache 2.4 and Tomcat 8 my goal is to connect to my site1.com which is on tomcat throw 80 port. Now if I go to site1.com I am redirected to site2.com which is on httpd apache ...
user avatar
10 votes
3 answers
80k views

Failed to load resource: net::ERR_CONNECTION_RESET

Since I started using an application behind a reverse proxy (Apache2's mod_jk), I've noticed some pages won't load (They would without the reverse proxy settings). It was a subtle error which I had ...
user avatar
0 votes
1 answer
1k views

Using Tomcat behind Apache2 Http with different context paths

On our Ubuntu webserver we have a Apache2 HTTP server in conjunction with an JSF application running on an Tomcat8 application server using AJP 1.3 connector and HTTPS/SSL. I want my app which runs on ...
user avatar
0 votes
1 answer
2k views

AJP Connector not working? (404 error)

I'm trying to connect the Apache WebServer (2.4.10) to Tomcat 7, both located in two different VMs. It's my first time using those tools. From what I understood a method to check if the connection is ...
user avatar
  • 1
0 votes
2 answers
3k views

How to Configure Apache mod_proxy to proxy Glassfish 4.1 on Fedora 21?

i have glassfish 4.1 running and checked the JK-Listener option on http-listener-2: also i already installed apache (sudo yum install httpd) and created the following file on /etc/httpd/conf.d: /...
user avatar
  • 141
2 votes
2 answers
4k views

Configure HA Proxy between Apache and Tomcat servers

Want to configure HA Proxy with my existing structure. Currently I have Apache->Tomcat server. This I want to change to Apache->HA Proxy->Tomcat Server. HA I have configured for Http request. But my ...
user avatar
  • 135
0 votes
1 answer
231 views

Configure Jira & Confluence together with Boncode

I have Jira set up on MyServer:8080/Jira and Confluence on MyServer:8090/Wiki I'm trying to achieve the folowing MyServer/Jira -> forward to Jira and MyServer/Wiki -> forward to Confluence For ...
user avatar
  • 103
1 vote
0 answers
31 views

Communication between HTTPD and Glassfish server [duplicate]

Currently, Glassfish Server sits behind a Apache HTTPD server. Glassfish server provides business applications along with static content. The idea is to allow Apache HTTPD server to provide static ...
user avatar
2 votes
1 answer
6k views

Apache problems in performance test with mod_reqtimeout

We have 2 Apache webserver behind a load balancer wich are connected to 2 (JBoss) application servers via mod ajp. To those webservers, mobile devices connect via a REST API. In our performance ...
user avatar
1 vote
0 answers
77 views

Apache mod_jk LB synchronization server startup + application startup time

after a long search I can´t found a solution or path to solve my problem with synchronization startup of Apache and Backend servers. I have a Apache2 using a LoadBalancer with mod_jk that balance ...
user avatar
0 votes
1 answer
923 views

Apache and JBoss mod_cluster speed up reload

As an alternative to this question, is it possible to decrease the amount of time that it takes for the Apache (httpd) server to pick up the JBoss servers after the Apache server reloads? As of right ...
user avatar
1 vote
1 answer
1k views

What is causing Apache httpd (+mod_proxy_ajp) to drop connections

I have the following VirtualHost configured (Apache 2.2.22) <VirtualHost *:80> ServerName ************ ProxyRequests Off <Proxy *> Order deny,allow Allow from ...
user avatar
  • 123
1 vote
1 answer
954 views

JBoss application behind apache ajp proxy with subdomain - duplicated context

In my application, I'm making some standard scenario where Java web app is deployed on JBoss with apache proxy upfront. The webapp is accessible from /esp context so direct url would be (but I've ...
user avatar
  • 341
2 votes
1 answer
7k views

Stale Network connections to Tomcat AJP port

I have Tomcat Application server connected with Apache server using mod_jk connector. Both are running on different servers. Apache ----->------ Firewall ----->------ Tomcat For the last couple of ...
user avatar
  • 315
0 votes
1 answer
824 views

Log Outgoing Apache Port on AJP Connection

I have Tomcat 7 set up to work with mod_jk and AJP. I'm wondering if, on the Tomcat side, I can log the mod_jk (Apache side) outgoing port with the Tomcat request handler thread name in order to track ...
user avatar
  • 142
1 vote
1 answer
2k views

404 in Tomcat manager with AJP connector

I'm trying to configure Tomcat 7 on CentOS 6 with Apache mod_jk, SSL, and an AJP connector. The JK module is installed under Apache: $ sudo httpd -M | grep jk jk_module (shared) Syntax OK Tomcat is ...
user avatar
  • 11
0 votes
1 answer
2k views

Apache / Tomcat AJP DNS failures when tunneling

I have a situation where I can access a private NAT-ed apache2.4 / tomcat7.0 railo4.2 server directly from the host or local network but when tunneling in through an SSH remote port forward the ...
user avatar
  • 394
0 votes
0 answers
654 views

Reverse Proxy and requested URL aware tomcat

I've configured an infrastructre setup where an apache reverse proxy terminates SSL requests. Then the requests are proxied to another frontend apache webserver and then again this one is connected ...
user avatar
0 votes
2 answers
987 views

resolving two tomcat instances to two different directories with httpd.conf and mod_proxy_ajp [closed]

Please excuse my ignorance on this topic. I've read and read, searched and searched and I'm still struggling with my setup. I'm trying to setup my httpd.conf to allow one domain, with two directories ...
user avatar
  • 143
1 vote
1 answer
649 views

How to throttle AJP

On Windows i connect Apache2 to Tomcat7 via AJP. Is there any configuration that can throttle the communication? This is my workers.properties worker.list=node1 worker.node1.port=8009 worker.node1....
user avatar
  • 135
1 vote
0 answers
8k views

How to Configure TimeOut For AJP connector

I am using ajp connector to connect to J BOSS nodes from Apache, ajp is configured to accept 400 concurrent connections by setting max Threads to 400, but few my connections are getting timeout. Where ...
user avatar
0 votes
1 answer
335 views

Two tomcat 7 instance running on same machine not accepting requests on AJP connector

I have setup a tomcat cluster with session replication running on same machine. I have modified the connector and shutdown ports as node1 --http 8080 --ajp 8009 --shutdown 8005 node2 --...
user avatar
1 vote
0 answers
5k views

"ajp_read_header: ajp_ilink_receive failed"

We have Apache 2.2.24 in front of Tomcat 7.0.33. We're using AJP connectors with APR/native configured. I recently noticed a number of 500 errors in the Apache access logs for a small proportion (0....
user avatar
  • 333
1 vote
1 answer
357 views

Apache frontend for Tomcat, proxy security

I have a server that hosts Tomcat for apps and Apache2 for it's frontend. They communicate to each other through ajp protocol over mod_moxy and proxy_ajp modules. Am I really safe using apache ...
user avatar
2 votes
2 answers
3k views

No mod_jk.so generated when compiling tomcat connector

When I try to compile the tomcat connector from source, everything appears fine except that no mod_jk.so file gets created. Software versions: RHEL6 x86_64 httpd-2.4.3 tomcat-connector 1.2.37 ...
user avatar