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

Configuring Apache and Tomcat: Cannot Access / On Server

I am trying to run Apache and Tomcat7 together on a VPS host running Ubuntu Service 13.04 64 bit, but am unable to get them connected together via the AJP Connector. I've read tutorials until my eyes bled, with no luck. I have the mod-proxy-ajp…
Jason
  • 3,943
  • 12
  • 64
  • 104
0
votes
3 answers

How do I connect my tomcat app to apache 2 so the paths aren't lame?

I've got a tomcat instance with several apps running on it... I want the root of my new domain to go to one of these apps (context path of blah).. so I have the following set up: ProxyPass ajp://localhost:8025/blah …
danb
  • 10,239
  • 14
  • 60
  • 76
0
votes
1 answer

Redirect host ip to load balancer in apache tomcat cluster

I have a load balancing cluster set up with Apache 2.2 and Tomcat 7 nodes. I know clients wouldn't normally know the IP of the nodes, but I'm curious if there is a way to configure the nodes to redirect requests to the load balancer. Part of this…
user1394451
  • 93
  • 1
  • 3
0
votes
1 answer

Glassfish, mod_jk: Standalone instance AJP port

I can´t find any AJP port description for a created standalone instance within glassfish. The default AJP port seems to be 8009, but I want to run multiple servers on the same machine, so where can I find the AJP ports for the other servers?
JWill
  • 105
  • 11
0
votes
1 answer

Apache 2 Tomcat Virtual Host redirecting

I have a Java Web app in my tomcat, and I put Apache2 HTTP as my reverse proxy. Actually I already made a (quite) good redirection, but I wanna make it better. My Virtual Host setting for redirecting to my tomcat web app is like below
Bromo Programmer
  • 670
  • 2
  • 13
  • 37
0
votes
1 answer

AJP Proxy settigs with mod_rewrite

I have a problem with AJP proxy settings. Versions of SW Oracle Linux Server 6.5, Apache 2.2.15, Apache Tomcat 7.0.29, tomcat-connectors-1.2.37-src. Expected behaviour With slash at the end of URL http:/@/name.company.local/application/ -->…
nautil2
  • 1
  • 1
  • 2
0
votes
1 answer

Restrict RESTful endpoint on tomcat to local webapp

Is there a mechanism built into Tomcat or Apache to differentiate between a local web application calling a local web service vs a direct call to a webservice? For example, a single server has both apache and tomcat servers with a front end web…
TimK
  • 819
  • 1
  • 10
  • 22
0
votes
1 answer

Grails 2.3.2 doesn't invoke ForkedTomcatCustomizer

I upgraded my grails application to grails 2.3.2 from 2.2.4. I had previously used _Events.groovy eventConfigureTomcat() closure to establish an ajp connection from apache httpd mod_jk. When upgrading, I found that this is no longer supported, but…
Bill Pfeiffer
  • 926
  • 8
  • 20
0
votes
1 answer

IIS->Tomcat Redirect: multiple worker with default

I am trying to configure multiple instances of Tomcat (7) behind a single domain in IIS. The Tomcat instances both run on separate ports. I have installed the Tomcat isapi_rediect.dll and configured IIS. Everything works with the redirector,…
0
votes
1 answer

Is it possible to use ProxyPass with only one ip address

I am looking to achieve this configuration. So I tried this but the server is allways looking for server_test and server_prod in the htdocs under Apache. What I want is to redirect the request to the Tomcat server. If I use different ports without…
Momo
  • 2,471
  • 5
  • 31
  • 52
0
votes
1 answer

What's the deal with current thread busy from Tomcat Status?

I have deployed a pretty big application that is used all across the country (Canada), meaning lots of concurrent connections. Recently we have reached the maximum amount of concurrent threads as our jBoss was configured to 40 maximum threads. Now…
Charles Morin
  • 1,449
  • 4
  • 32
  • 50
0
votes
1 answer

Tomcat ajp port change every time with intelliJ

I am using mod_jk to connect apache to tomcat server in my project. I am using intelliJ IDEA as my development IDE. Problem with me is, Every time I restart my tomcat in intelliJ, it starts ajp listener on different port. I see below lines in…
Patriks
  • 1,012
  • 1
  • 9
  • 29
0
votes
1 answer

Glassfish instances unable to startup after enabling AJP

I'm trying to make a cluster with Glassfish 3.1.2.2, I created cluster, then instances and started them and every thing is ok, then I enabled AJP port to make loadbalancer from Apache with mod_jk with the following steps (from Glassfish side): I…
Al-Mothafar
  • 7,949
  • 7
  • 68
  • 102
0
votes
1 answer

conditional proxypass ajp rules using ip whitelist

I've successfully created a ProxyPass ajp rule which works fine, but now i want to restrict the access of certain urls using an ip-whitelist. In other words, when someone comes from an ip that is not on the whitelist the request should not be…
marty
  • 651
  • 7
  • 13
0
votes
1 answer

Jboss 4.2.3 - high load on one CPU out of 8

we are running Jboss 4.2.3 on Amazon AWS machine with 8 cores (CPUs) under load we see that there is a single thread taking massive load on just one CPU, while the other are almost idle. (other threads are distributed on all CPUs) we see it using…
Aviad S.
  • 171
  • 1
  • 1
  • 8
1 2 3
16
17