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
0
votes
1 answer

Tomcat behind Apache httpd via SSL (httpd works, tomcat returns error 500)

I have a tomcat, listening on port 8080 and an apache httpd listening on ports 80 and 443. The httpd proxies the client through to tomcat via ajp. This works like a charm. The statement I made - quoted above - is wrong. I mistakenly assumed I set…
zoku
  • 7,056
  • 3
  • 20
  • 27
0
votes
1 answer

mod_cache returns "broken expires header"

I am using apache2 as a loadbalancer and frontend-proxy in front of a tomcat server, connected via mod_ajp. Now, I would like to add Caching. Unfortunately, the tomcat server's application sends back a lot of headers, which according to the RFC…
Lars
  • 5,757
  • 4
  • 25
  • 55
0
votes
2 answers

Configuring the AJP port on Jetty in a Spring boot application

I am trying to configure the AJP port for the Jetty server in my spring boot application. However, I've seen examples about the Tomcat AJP connector but not for Jetty. Can someone tell me how I should configure the AJP port on Jetty?
Avinash K
  • 65
  • 11
0
votes
3 answers

Shibboleth SP - Reading assertion attributes from Java

I understand that configured attributes will be stored as environment variables by default and will be accessible like request.getAttribute("Shib-Identity-Provider") I tried that and after some googling I understood that to access them in Java…
Avinash K
  • 65
  • 11
0
votes
1 answer

mod_rewrite: rewrite urls to point to the same application

I have tomcat sitting behind an apache server connected through mod_jk. I now have a need of having 2 urls pointing to the same tomcat application. http://hostname/app/ http://hostname/fancy-url/ Both of these urls need to point to same tomcat…
Nitesh Kumar Anand
  • 621
  • 1
  • 6
  • 18
0
votes
2 answers

we have ? in a url and ajp converts it to %3F

with the Mod_jk connector we have this in our /etc/apache2/sites-available file: RewriteRule /$ /op_ugw/orderportal/home?switchprofile=RecyledPlants [L] This works fine. and www.recycledplants.com will get you to the correct place. However on…
0
votes
0 answers

How to debug Crosstalk occurring on Apache/HTTPD?

I've got my webapp running on Tomcat 7 and Java 8. It's a Grails app with Atmosphere framework. When I connect to it directly from the browser, everything is fine. However when I proxy it using Apache/HTTPD 2.4, occasionally, I see some crosstalk.…
rahul
  • 1,281
  • 2
  • 12
  • 29
0
votes
1 answer

Apache forward everything to Tomcat except webmail

I have my Apache HTTP server set up to forward all requests to Tomcat, i.e. proxy_ajp.conf looks like: ProxyPass / ajp://localhost:8009/ where Tomcat is listening on port 8009. This works find except when I try to access squirrelmail (i.e.…
Joe
  • 1,091
  • 1
  • 13
  • 18
0
votes
0 answers

Tomcat application crashing frequently

Our production env looks like this: Tomcat 7.0.61 Apache 2.4.16 On a Windows Server 2008 R2 64 bit machine. It has 7 drives with 700GB each. A lot of unused memory. CPU looks good and memory usage looks good too. Sine yesterday, the application has…
Angelina
  • 2,175
  • 10
  • 42
  • 82
0
votes
1 answer

Tomcat irresponsive

We have configured Apache and Tomcat using AJP connector: In Apache log we found there is a long response time (for all request between some time period) , tomcat has received request but some how response not delivered to Apache, there is no error…
Yogesh Patel
  • 21
  • 1
  • 2
0
votes
2 answers

Why would Apache be slow when application server is quick?

We are using Apache as the web server, and it proxies requests to Jboss (think Tomcat) Java application server using AJP. We have logging on for Apache and for our web application in Jboss. We are seeing, not always but sometimes, cases where the…
David Purdue
  • 250
  • 4
  • 9
0
votes
1 answer

Apache 2.4 Proxy AJP serve multiple domains with Tomcat 8

I developed three Spring based web applications were deployed on my Tomcat 8 server. I can access them in LAN by access as: http://localhost:8080/webapps1 http://localhost:8080/webapps2 http://localhost:8080/webapps3 which works fine for…
cidy.long
  • 417
  • 12
  • 35
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
  • 147
  • 3
  • 16
0
votes
2 answers

how to configure AJP in websphere application sever

I have deployed liferay 6.1 on WebSphere 8.5 application server which is running on http://localhost:9080,now i want to configure WebSphere to listen AJP request coming from Apache/IHS web server. Could anyone please provide the steps how to setup…
0
votes
1 answer

How to access X509 subject.serialnumber in JBOSS 6 EAP icm AJP and SSL offloading

We have the following configuration: An Apache 2.2 Reverse proxy, terminating HTTPS for SSL offloading. A Jboss 6.1 EAP application server exposing SOAP services The Apache is configured like is described in this article. The SOAP services are…
Sjaak
  • 3,602
  • 17
  • 29