Questions tagged [ajp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
136 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 # ...
0
votes
1answer
99 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 ...
0
votes
2answers
573 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/...
2
votes
2answers
2k 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 ...
2
votes
1answer
8k 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" />...
0
votes
0answers
44 views

Close wait connections increased in my Web app

I have an web application which uses Apache and Tomcat. We have recently seen increase in many close wait connections which resulted in application responding very slow. In the application logs what i ...
0
votes
0answers
76 views

Using WebSockets with Tomcat behind IIS via AJP

I have a question quite similar to Apache Cluster + Tomcat websocket. We have Tomcats fronted by an IIS webserver through ISAPI redirector (AJP) I know that we can't do upgrades from HTTP to ...
1
vote
1answer
785 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 ...
0
votes
1answer
70 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 ...
0
votes
2answers
7k 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 ...
1
vote
0answers
181 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?
2
votes
2answers
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 ...
1
vote
2answers
3k 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 ...
1
vote
3answers
842 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)....
0
votes
1answer
119 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 ...
1
vote
0answers
611 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 ...
0
votes
1answer
81 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 ...
0
votes
0answers
2k 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/...
2
votes
0answers
391 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 ...
1
vote
0answers
74 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 ...
0
votes
0answers
667 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 ...
10
votes
3answers
51k 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 ...
0
votes
1answer
900 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 ...
0
votes
1answer
1k 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 ...
0
votes
2answers
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: /...
2
votes
2answers
3k 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 ...
0
votes
1answer
224 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 ...
1
vote
0answers
28 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 ...
2
votes
1answer
5k 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 ...
1
vote
0answers
72 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 ...
0
votes
1answer
815 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 ...
1
vote
1answer
906 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 ...
1
vote
1answer
804 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 ...
2
votes
1answer
6k 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 ...
0
votes
1answer
745 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 ...
1
vote
1answer
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 ...
0
votes
1answer
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 ...
0
votes
0answers
490 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 ...
0
votes
2answers
877 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 ...
1
vote
1answer
567 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....
1
vote
0answers
7k 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 ...
0
votes
1answer
327 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 --...
1
vote
0answers
4k 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....
1
vote
1answer
315 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 ...
2
votes
2answers
2k 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 ...
1
vote
1answer
6k views

Cisco adaptive security appliance is dropping packets where SYN flag is not set

We have an apache instance sitting inside our DMZ which is configured to proxy requests to an internal NATed tomcat instance inside our network. It works fine, but then all of a sudden requests from ...
1
vote
1answer
2k views

Apache2 with SSL and mod_jk on SUSE Linux Enterprise | Apache always starts SSL disabled

I have installed Apache2 (with mod_ssl enabled) on SUSE Linux Enterprise Server 11 (x86_64) (patchlevel 1), using YaST. Once installed, I tested whether everything works fine so far. SSL also worked ...
1
vote
1answer
1k views

How can I encrypt certain pages with SSL (HTTPS) using IIS7.5, AJP Connector (1.3), and Apache Tomcat 5.5?

I have a Windows Server 2008 R2 Box with IIS 7.5 and Apache Tomcat 5.5. JSP traffic is routed from IIS to Tomcat via the AJP Connector version 1.3. This connector uses an isapi filter in IIS to ...
1
vote
1answer
474 views

randomly occupied AJP port on server restart

I have 9 tomcat instances (fronted with apache and mod_jk) on a box which start with /etc/init.d/tomcatX scripts (where X is a [1-9] number). These scripts are simple: #!/bin/sh ### BEGIN INIT INFO # ...
1
vote
1answer
1k views

setting up workers.properties file for mod_jk

I'm trying to create a workers.properties file to get mod_jk communicating with Apache webserver 2.2.x. The GlassFish 3.1 Administration Document includes the following example for worker.properties: ...