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

org.glassfish.grizzly.http.ajp.AjpHandlerFilter.encodeHttpPacket(AjpHandlerFilter.java:282) when using Apache as load balancer for GF 5

I've configured a Glassfish 5.0 instance with an AJP connector that would work as load balancer even though at the moment I have only one glassfish. In domain.xml I have the followin:
500 Server error
  • 644
  • 13
  • 28
2
votes
1 answer

Problems with POST parameters with Tomcat/AJP on Apache 2.4 (but not 2.2)

I am setting up a version of our webapp on a new machine running Apache 2.4 and Tomcat 7, and can't get the login to work. The current site is running on Apache 2.2 and Tomcat 6. Debugging is showing that the request.getParameter() is returning null…
Nic Cottrell
  • 9,401
  • 7
  • 53
  • 76
2
votes
3 answers

Duplicated status code in response

I usually deploy Java webapps in Tomcat servers and access them through an Apache proxy, using proxy_ajp. The thing is, in my latests setups (which are all basically the same) I see that the status code I get in all my requests is duplicated (i.e.,…
priethor
  • 93
  • 2
  • 7
2
votes
0 answers

Can I set up a optimally secure connection between Apache and Wildfly?

Setting up a public Wildfly (9.0.2.Final) server, I'm figuring out the alternatives for doing this with or without Apache as a front towards Internet. I'd prefer to use Apache as this solves other problems for me. I should say: I need to use SSL for…
Mats
  • 283
  • 4
  • 14
2
votes
0 answers

What can I use alternative to AJP connector?

My Application is having apache-jboss connection using AJP connector. This is code snippets of JBoss standalone-full.xml
Saurabh
  • 21
  • 3
2
votes
2 answers

Stuck with apache,mod-ajp weird redirection

hi all i have a redirection problem with mod ajp, that it always adds the application name before the desired page, for example: if i requested the page: http://myapp.com/mypage it is converted to http://myapp.com/myapp/mypage, and i get a 404…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
2
votes
0 answers

Tomcat roles with AJP and mod_auth_openidc

My application runs on a tomcat (v8) and needs roles to work. Until now, I managed the users and their roles with a custom JDBCRealm which I configured in the server.xml. Also, until now I accessed the tomcat webserver directly. Now I tried to use…
s3b
  • 158
  • 1
  • 10
2
votes
1 answer

Tomcat was stopped after 3 messages: Invalid message recieved with signature 18245

I installed Tomcat 6 in Windows Server 2008. From the time it was installed in 2012, there have been 9 times where Tomcat services was stopped unexpectedly. All of the times happened after 3 log messages/entries, for example: Jul 17, 2015 10:08:39…
Thao Nguyen
  • 21
  • 1
  • 3
2
votes
1 answer

Apache web server multiple workers

We have a webserver running apache 2.2, which connects to tomcat 5.5 in another server (say, repserver). This is done through ajp1.3 protocol, with mod_jk workers.properties file defining an ajp13 worker. The workers.properties file…
sdatta
  • 21
  • 2
2
votes
0 answers

Multiple protocols for internal communication between apache and tomcat

Tomcat in our application is considered back-and side and additionaly we have apache that fronting tomcat server as a reverse proxy and redirect requests to appropriate tomcat instance. Now we need to set up HTTPS connection between apache proxy and…
fashuser
  • 2,152
  • 3
  • 29
  • 51
2
votes
2 answers

secure AJP connector not rendering

We have a hybris server behind an apache web server that are linked with ajp connectors. This is working perfectly however for some reason after updating to hybris 5.3 (and tomcat 7) the secure ajp connector is not rendering. In the hybris tomcat…
Ryan
  • 414
  • 1
  • 6
  • 16
2
votes
1 answer

tomcat stops serving behind apache when shifted to mod_proxy_ajp using SSL

We are facing an issue for last many days that our tomcat(8.0.5) stop responding to web requests which are targeting to a servlet deployed on tomcat but requests are coming from our website deployed on apache(2.2) on centos. After going through many…
Aqeel
  • 133
  • 2
  • 9
2
votes
2 answers

Subdomain under Apache to proxy into Tomcat

I'm having trouble with making a subdomain to my Windows computer while using AJP to proxy to Tomcat. This is what I have in my httpd.conf file: ServerName subdomain.localhost ProxyRequests Off
stan
  • 1,172
  • 2
  • 9
  • 8
2
votes
0 answers

Grails SpringSecurity redirect from Apache to Tomcat doesn't work

My app developed with Groovy & Grails (named MyApp) runs on Tomcat at http://1.2.3.4:8080/MyApp. In the same server I have Apache that runs on port 80. This app works fine. I need to replace this Ip and port with myapp.example.com. This is my…
2
votes
0 answers

AJP exception handling - how to get a more descriptive error or status code?

I am connecting to another server via AJP from my apache server like below: ProxyPass ajp://mywebsite.com:8009/page1 In case of error, I want to use apache web servers config in…
A.C
  • 197
  • 3
  • 17