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

Apache + Tomcat with mod_jk - Web site hangs

I have a website with apache 1.3(SSL enabled) + mod_jk + tomcat 5.5 on Linux redhad setup. Just recently i started having a downtime problem with my web site. Once a day, i get my web site hang on port 80. But if i access directly through 8080…
taras
  • 2,223
  • 5
  • 36
  • 43
4
votes
3 answers

How do I make Spring redirects remain on HTTPS when request comes in on https?

I’m using Apache 2.2, JBoss 7.1.3.Final, and Spring 3.2.11.RELEASE. It would appear when Spring issues a redirect in one of our controllers like so return new ModelAndView(new RedirectView(returnUrl+"?lti_errormsg="+msg)); even though the original…
Dave
  • 15,639
  • 133
  • 442
  • 830
4
votes
0 answers

Using mod_proxy_ajp, how do I set "special" AJP attributes?

I have set up an Apache Web Server 2.4 to act as a proxy for Apache Tomcat 7, communicating via the AJP protocol (mod_proxy_ajp on the Apache side and an AJP connector on the Tomcat side). Everything works great for basic functionality. Now, I am…
Douglas Rapp
  • 115
  • 1
  • 9
4
votes
2 answers

AJP could not acquire lock to page, PageAccessSynchronizer warning

I recently found these warnings in our logs. I am not an expert on threading or tomcat. Does anyone have some advice on how to debug this problem? We are running a wicket application on a tomcat server. Let me know if any other information would be…
Jared Sol
  • 313
  • 1
  • 6
  • 20
4
votes
1 answer

Apache Webserver, Tomcat, AJP, "All workers are in error state for route"

To preface this, I've been all over the internet attempting to find a solution. Below are just the latest links that have provided some information, none of which however seems to be…
ronchalant
  • 41
  • 1
  • 2
4
votes
2 answers

Tomcat 7 Freeze after few days

Tomcat server freezes and stops responding completely. Restart seem to be the only way to bring it back online. Thread dump showed that server maxed out on AJP threads. I have default value (200) set for maxThread, and I saw exactly 200 AJP threads…
Karam
  • 41
  • 2
4
votes
3 answers

What is the cause and how to fix 503 errors with this in Apache error_log: "Broken pipe: ajp_ilink_send(): send failed"

I'm having intermittent problems with a servlet running on JBoss, with Apache forwarding it all requests via mod_proxy_ajp.so. Sometimes, for REST requests, I get 503 errors from Apache. When this happens, the Apache error_log has this in it: [Mon…
David Resnick
  • 4,891
  • 5
  • 38
  • 42
4
votes
0 answers

Web Service calls fail with Invalid chunk header on Glassfish 3.1.2.2 + Apache2 + proxy_ajp

I have set up Apache 2.2.16 in front of Glassfish 3.1.2.2 server to provide HTTPS on TCP 443. I am using Apache proxy_http and proxy_ajp modules to relay the requests to Glassfish which is listening port TCP 8009 (AJP listener). When I try to access…
3
votes
0 answers

tomcat ajp connector with multiple webapps

I have a tomcat server, with a webapps/ROOT application, fronted by Apache. LoadModule proxy_ajp_module modules/mod_proxy_ajp.so and ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ I need to add a second webapp to…
woddle
  • 1,582
  • 1
  • 18
  • 34
3
votes
1 answer

apache2 - set timeout in xml configuration of sites-enabled

I use this configuration below in order to make my application available via SSL. My question now would be how it is possible to set a timeout at **. Is there a way of doing it and how would be the syntax? # force HTTPS ServerName…
quma
  • 5,233
  • 26
  • 80
  • 146
3
votes
4 answers

Using ProxyPass for pages but not images

As a result of horrible, horrible errors, we've changed how we connect Apache to Tomcat. We were using mod_jk: JkMount /path ajp13 Now we're using mod_proxy_ajp: ProxyPass /path ajp://localhost:8009/path ProxyPassReverse /path…
Marcus Downing
  • 10,054
  • 10
  • 63
  • 85
3
votes
1 answer

Iterate through all ServletRequest attributes

I would like to iterate through all available attributes in a ServletRequest. But somehow when doing that, not all available attributes are shown. It seems this way because when requesting a specific attribute that wasn't shown in the enumeration,…
backendev
  • 267
  • 6
  • 15
3
votes
3 answers

Tomcat stop working: there are no ajp available

My Tomcat 7.0.27 running with Liferay 6.1.20-ee-ga2 stop working during high load. Running jstack give me a lot of this thread that seems to do nothing and blocking ajp resource. The cpu is not in high load (less than 55%). "ajp-bio-8009-exec-8930"…
agiannetti
  • 151
  • 2
  • 10
3
votes
1 answer

apache2 tomcat7 with mod_jk dont work after system reboot

I have configured tomcat to run on port 80 with apache2 and mod_jk and this work well. If i reboot the system then the site will be the standart site from apache2. If i restart apache2 (/etc/init.d/apache2 restart) the site will come from tomcat.…
d3rbastl3r
  • 463
  • 1
  • 6
  • 16
3
votes
3 answers

how to make my URL short using MOD Rewrite in a clustered apache tomcat environment

Here is my actual URL http://www.getinfotowin.com/virtual/PageRouteone?actionName=best_television_Series&service=T&id=50&customerId=81&KeyId=1&IsVisible=N&service=Nothing Expected short…
tina
  • 312
  • 1
  • 4
  • 18
1 2
3
16 17