Questions tagged [mod-proxy-ajp]

56 questions
1
vote
3 answers

What should be configured in AJP proxy configuration?

I have Apache HTTPD server in our product and I need to add the AJP proxy to some specific application. The Tomcat AJP port is 8009 and the Tomcat HTTP port is 8080 (the SSL termination is in Apache). This is the AJP proxy I need to…
Michael
  • 597
  • 3
  • 9
  • 23
1
vote
1 answer

Tomcat to hadle only JSP - Apache proxy not working as expected

I've been given some source code for a PHP project that includes a .jsp file. I am able to run it as-is on my XAMPP set up on my Mac at work but I'm struggling to achieve the same on my Ubuntu setup at home. What I need is be able to drop .jsp…
1
vote
1 answer

Apache2 mod_proxy_ajp with Tomcat leads to 500 Internal Server Error

I am currently deploying a cloud server instance running Ubuntu 14.04. I have installed the LAMP Stack as well as Tomcat 7 Server. I want to run a Java Based App from this server and therefore any request that comes to my server, i.e…
1
vote
0 answers

tcpsndbuf causing max cpu load (using proxy_mod on openvz)

I do run a web application, which I stripped to the max to avoid a high tcpsndbuf values. Still a failcnt on tcpsndbuf will be reached after a few days and very, very little traffic. I initially thought it is an application container issue as…
feder
  • 111
  • 2
1
vote
1 answer

How to get the remote user from httpd basic authentication in my tomcat servlet?

I've successfully configured mod_proxy_ajp from my httpd to Tomcat, with httpd performing the SSL and basic authentication. I need the remote user in my tomcat application, so I thought using AJP would population the headers so…
dacracot
  • 469
  • 2
  • 13
  • 28
1
vote
1 answer

What is causing Apache httpd (+mod_proxy_ajp) to drop connections

I have the following VirtualHost configured (Apache 2.2.22) ServerName ************ ProxyRequests Off Order deny,allow Allow from all ErrorLog…
jlb
  • 123
  • 7
1
vote
1 answer

JBoss application behind apache ajp proxy with subdomain - duplicated context

In my application, I'm making some standard scenario where Java web app is deployed on JBoss with apache proxy upfront. The webapp is accessible from /esp context so direct url would be (but I've turned off HTTP for Jboss, only…
kamil
  • 341
  • 1
  • 2
  • 9
1
vote
0 answers

SSL exception "No name matching domain found" apache in front of 2 tomcats servers

I have 2 servers. Server1 is an Ubuntu 12.04 LTS with Alfresco 4.2 on Tomcat. Server2 is a Windows 7 with my CAS server (SSO) on eclipse installation. Both have apache with mod proxy AJP in front to negotiate SSL. Alfresco on server1.tld return CAS…
Design
  • 11
  • 2
1
vote
0 answers

proxy ajp single apache single glassfish multiple GF domains

I'm sorry if I am not well versed enough to be as specific as some would wish here. I have successfully got Apache mod_proxy_ajp working with Glassfish 3.1.2 on a VPS. However it is one Apache httpd server connecting to a single domain on the…
Bill Rosmus
  • 369
  • 1
  • 2
  • 11
1
vote
1 answer

Cisco adaptive security appliance is dropping packets where SYN flag is not set

We have an apache instance sitting inside our DMZ which is configured to proxy requests to an internal NATed tomcat instance inside our network. It works fine, but then all of a sudden requests from apache to the tomcat instance stop getting through…
Brett Ryan
  • 327
  • 1
  • 4
  • 15
1
vote
1 answer

Existing connexion on Apache and mod_proxy_balancer don't fail over second JBoss node

I have a Jboss farm, load balanced by Apache HTTP + mod_proxy_balancer and mod_proxy_ajp, with the following configuration : ServerName web-gui-acceptance.myorg.com ServerAlias web-gui-acceptance ProxyRequests Off …
Jean-Rémy Revy
  • 159
  • 2
  • 14
1
vote
1 answer

Glassfish JSF/EAR Apache 2.2 proxy_ajp_mod Referred Content Missing (images/links/etc)

Full disclosure: Since this seems to be more of a configuration issue, I deleted this from Stack (where it wasn't getting any response) and reposted here. The problem is how to change the requestContextPath served up by Glassfish behind…
Bill Rosmus
  • 369
  • 1
  • 2
  • 11
1
vote
1 answer

Apache2 mod_proxy to remote Tomcat7 - slow response

Been stuck with this one for a few days. Will try to provide as much information as possible, but please feel free to ask for extra detail. I have 2 VMs behind a NAT, 192.168.0.100 and 192.168.0.102, both running Ubuntu 11.04 x64. The first one is…
12N
  • 23
  • 1
  • 5
1
vote
1 answer

Tomcat Workers - Connecting Tomcat and Apache

I'm trying to resolve an issue about connecting Apache-HTTPD and Tomcat with mod_proxy_ajp. From reading I found that the problem might be the number of workers in HTTPD and Tomcat. So I try to find the worker's definition in the Tomcat but I…
baba smith
  • 111
  • 2
1
vote
1 answer

Reverse Proxy and Java Application Server Security

Is it possible to have the reverse proxy (Apache HTTP 2.2) handle authentication (HTTP Basic) and then still use the container managed security of the Java application server (GlassFish 3.1 or JBoss 7.0.2) for authorization? I've got GlassFish doing…
Ryan
  • 430
  • 5
  • 13