Questions tagged [ajp]

81 questions
0
votes
1 answer

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 body it still has to read from mod_jk. Is it…
user440614
0
votes
2 answers

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 expired: ajp_ilink_receive() can't receive…
Nicolas Raoul
  • 1,334
  • 7
  • 22
  • 43
0
votes
1 answer

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 application server is made via AJP over port 8009. This is…
Sriram
  • 201
  • 1
  • 4
  • 8
0
votes
1 answer

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 Information in tomcat application. Even though we…
Dan
  • 111
  • 3
0
votes
0 answers

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/resources/ ! ProxyPass /app1/ ajp://localhost:8009/app1/…
Dave
  • 185
  • 1
  • 7
  • 20
0
votes
0 answers

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 server. site1.com:8080 - work…
Edgaras Karka
  • 111
  • 1
  • 5
0
votes
1 answer

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 localhost:8009/myApp/ to be accessible from …
Raphael Roth
  • 101
  • 2
0
votes
1 answer

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 working is to try to access to Tomcat using the…
RVKS
  • 1
  • 3
0
votes
2 answers

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: /etc/httpd/conf.d/ajp.conf ProxyPass /painel…
Sombriks
  • 141
  • 2
  • 8
0
votes
1 answer

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 that, I've set up BonCode 'thingy' witch works…
Marty
  • 103
  • 3
0
votes
1 answer

Why aren't connections released by the tomcat AJP connector

I have here a jboss with a web application. The tomcat is configured to use the ajp connector. Incoming connections are tunneled via an apache reverse proxy to the connector. Now I recognized that under heavy load the connector keeps a bunch of…
Chris
  • 143
  • 1
  • 1
  • 8
0
votes
1 answer

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 now, it is taking between 10 and 20 seconds; I…
user1207177
  • 145
  • 1
  • 7
0
votes
1 answer

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 end-to-end network traffic.
Andy
  • 142
  • 7
0
votes
1 answer

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 application breaks with the error: The proxy server…
SpliFF
  • 394
  • 2
  • 8
  • 24
0
votes
0 answers

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 via mod_jk/AJP to a tomcat. The setup seems to run…