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
0 answers

Where can I find the Apache httpd server IP from within a Tomcat Valve, when AJP was used?

I am working on updating a Tomcat Valve. I want to add a check to see if the caller is coming from localhost/127.0.0.1, which is the case if Apache httpd acts as the frontend webserver on the same machine. So I added a check for the IP address…
PaulRailo
  • 11
  • 2
0
votes
0 answers

Apache Tomcat configuration to serve 250 Users

I've two servers (A, B). On "A" I've Apache as a Web-Server for a Tomcat Application and on Server "B" I've another Tomcat Application which is also entertained by the same Apache on server "A" additionally I'm using AJP connector also to find out…
user4827348
0
votes
1 answer

Tomcat6 jk-8009 service using 100% CPU

I have a problem with tomcat6, when I "top -H", I can see 3 java threads running at 100% CPU. I looked up what tomcat was doing using PSI-probe and in the "Connectors" tab, under jk-8009, I can see the following 3 lines: Remote IP stage …
Bentaye
  • 9,403
  • 5
  • 32
  • 45
0
votes
1 answer

Restarting Apache2.4 Inside a Servlet Under Tomcat 6

I have a proxy that redirects to an Java Web-App when error 403 is encountered. This application checks the user's credentials: if the user is authorized, the client IP address is added to a list of authorized IP addresses, and included in…
0
votes
1 answer

Remap javax.faces.resources to a different path

I have a jsf/primefaces app. It has both internal and external facing side grouped into two different directories such as xhtml/internal and xhtml/external. Access to the internal site is controlled by a filter based on your IP. If your IP is on the…
user3586195
  • 498
  • 4
  • 15
0
votes
1 answer

AJP hang 60sec (Tomcat7+apache2.2+mod_jk + CentOS)

I'm using Tomcat+Apache2.2+mod_jk. Really a few requests are hanging 60 ses. If anyone has same experiences or knows reasons, please let me know The stack is: org.apache.tomcat.jni.Socket.sendbb(Native…
SkyWorker
  • 1
  • 1
0
votes
1 answer

Load balancing an app server with Apache web servers

Our current setup has 2 load balanced web servers that point their application requests to a load balancer for 2 web servers LB1 / \ Web1 Web2 \ / LB2 / \ App1 App2 The 3rd party app we use now recommends we switch from a…
user99426
  • 13
  • 2
0
votes
1 answer

Enable JBoss Web Native (APR) on JBoss AS 6

I am trying to enable APR to improve performance of the AJP connector we use between apache and jboss. I have downloaded the correct .tar file from http://jbossweb.jboss.org/downloads/jboss-native-2-0-10 and extracted the files in accordance with…
DaveB
  • 2,953
  • 7
  • 38
  • 60
0
votes
1 answer

How to get tomcat worker status from jkmanager

We have 3 Machines mod_jk with load balancer first Worker on tomcat8 2nd Worker on tomcat8 everything works as expected but, when one of the tomcat is being shutting down the status page on the load balancer still shows that the state of this…
oak
  • 2,898
  • 2
  • 32
  • 65
0
votes
1 answer

How to implement robots.txt file for front-end and back-end web server?

Front-end Web Server: IIS 7.5 Back-end Web Server: Tomcat 5.5.28. Both are on the same machine. IIS uses an AJP Connector -- isapi filter -- to pass appropriate requests to Tomcat. IIS is using a robots.txt file to prevent web crawlers from…
user717236
  • 4,959
  • 19
  • 66
  • 102
0
votes
1 answer

IIS URL Rewrite not working corectly for changing html to jsp page and routing to Tomcat via AJP Connector

Front-End Web Server: Windows Server 2008 R2 SP1 Back-end Web Server: Tomcat 5.5 -- JSP/Servlet Engine Front-End and Back-End Web Servers are linked by an AJP Connector, which is an isapi filter running on IIS. Tomcat and IIS are on the same…
user717236
  • 4,959
  • 19
  • 66
  • 102
0
votes
1 answer

Wildfly 8.1 - Websockets in a Clustered Config?

I have a 2-node cluster setup using the standalone-full-ha.xml configuration on Wildfly 8.1. I'm trying to open up a web socket connection through Apache HTTPD URL, but when I do I see the following error in my logs, and the web socket open fails…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
0
votes
1 answer

Hudson ajp port / service unavailable

I just installed hudson 3.1.2 on ubuntu server 14 using the apt-get install hudson command line. Once the installation was done, I changed the default configuration file so I can access hudson using /hudson in the url. I also configured the http…
P. Lalonde
  • 694
  • 1
  • 7
  • 17
0
votes
1 answer

How to investigate the acute growth of the AJP threads number in Tomcat?

We have configuration that includes Apache and Tomcat servers connected by mod_jk. There are several tomcat servers and request are distributed by the Round-Robin algorithm. Just recently the number of AJP threads suddenly started growing and the…
Alex
  • 7,007
  • 18
  • 69
  • 114
0
votes
1 answer

Remove context name from URL - mod_proxy_ajp with Spring Security

I have a app named "FitnessTracker" running on tomcat, post 8080. I am using Spring Security, and everything works fine when I test it directly on tomcat using http://localhost:8080/FitnessTracker I then configured mod_proxy_ajp on Apache http 2.2,…
Harish BN
  • 15
  • 1
  • 5