Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ajp]

The tag has no usage guidance.

1
vote
0answers
21 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
36 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
1answer
3k 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
149 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?
3
votes
2answers
930 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
2k 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
623 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
108 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
466 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
51 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
1k 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/...
1
vote
0answers
228 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
59 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
432 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 ...
6
votes
3answers
30k 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
626 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
705 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
2k 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
213 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
24 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
4k 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
65 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
725 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
733 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
664 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
580 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
406 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
792 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
499 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
6k 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
307 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
276 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
5k 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
978 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
428 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: ...
6
votes
1answer
14k views

How to re-activate disabled Apache 2.2 AJP connections?

I don't use AJP for load-balancing; I have a single Apache 2.2 instance that proxies some URLs to a single Tomcat 7 instance via AJP. When Tomcat is down, the AJP proxy becomes disabled on the first ...
-1
votes
1answer
1k views

Root redirect with Tomcat 7 and Apache reverse proxy

Expected behavior: Requests to example.com should redirect to example.com/. Problem: Requests in a browser (Firefox) to example.com succeed. Requests in a browser to example.com/ redirect to example....
8
votes
3answers
18k views

How get I the Tomcat AJP-Connectors working?

I want to access Tomcat through the Apache-webserver using connectors. I sticked to the documentation: http://tomcat.apache.org/connectors-doc/generic_howto/quick.html I only modified it a little to ...
2
votes
2answers
9k views

Nginx as a reverse proxy to a Tomcat instance via the HTTP connector

I'm dropping Apache as a reverse proxy to a Tomcat instance, mainly because it has no other purpose other than forwarding requests to the Tomcat instance. I'm no expert at deploying Java Web ...
1
vote
2answers
884 views

How to configure apache (+ajp?) with tomcat example.com domain and php blog.example.com subdomain?

I've been searching for a solution online for quite some time but can't seem to find a decent answer, so I might try my luck here... I'm trying to configure apache+tomcat so that my domain example....
0
votes
3answers
4k views

SSL redirect problem with JBoss 4.2.3, Apache mod_jk and a hardware load balancer

We are currently experiencing some problems with a network setup we have not used so far and I hope to get some more input how to work around this. The network of a customer of us uses 4 JBoss ...
0
votes
4answers
2k views

Using Confluence with virtual hosts and mod_proxy

on a test server I have installed the latest version of Confluence. I configured a apache with ajp. But I have a problem, when I login in Confluence, I get the following error message: Not Found The ...