0
votes
0answers
63 views

Reverse Proxy and requested URL aware tomcat

I've configured an infrastructre setup where an apache reverse proxy terminates SSL requests. Then the requests are proxied to another frontend apache webserver and then again this one is connected ...
0
votes
0answers
28 views

Tomcat routing based on client's IP

Apache serves as proxy to two Tomcats. Configuration is as follows: workers.properties: worker.list=farm,worker1,worker2 worker.farm.type=lb worker.farm.balance_workers=worker1,worker2 ...
1
vote
1answer
96 views

How to throttle AJP

On Windows i connect Apache2 to Tomcat7 via AJP. Is there any configuration that can throttle the communication? This is my workers.properties worker.list=node1 worker.node1.port=8009 ...
0
votes
1answer
73 views

Two tomcat 7 instance running on same machine not accepting requests on AJP connector

I have setup a tomcat cluster with session replication running on same machine. I have modified the connector and shutdown ports as node1 --http 8080 --ajp 8009 --shutdown 8005 node2 ...
1
vote
0answers
804 views

“ajp_read_header: ajp_ilink_receive failed”

We have Apache 2.2.24 in front of Tomcat 7.0.33. We're using AJP connectors with APR/native configured. I recently noticed a number of 500 errors in the Apache access logs for a small proportion ...
2
votes
2answers
513 views

No mod_jk.so generated when compiling tomcat connector

When I try to compile the tomcat connector from source, everything appears fine except that no mod_jk.so file gets created. Software versions: RHEL6 x86_64 httpd-2.4.3 tomcat-connector 1.2.37 ...
1
vote
1answer
409 views

How can I encrypt certain pages with SSL (HTTPS) using IIS7.5, AJP Connector (1.3), and Apache Tomcat 5.5?

I have a Windows Server 2008 R2 Box with IIS 7.5 and Apache Tomcat 5.5. JSP traffic is routed from IIS to Tomcat via the AJP Connector version 1.3. This connector uses an isapi filter in IIS to ...
1
vote
1answer
202 views

randomly occupied AJP port on server restart

I have 9 tomcat instances (fronted with apache and mod_jk) on a box which start with /etc/init.d/tomcatX scripts (where X is a [1-9] number). These scripts are simple: #!/bin/sh ### BEGIN INIT INFO # ...
0
votes
0answers
205 views

What are the steps to follow to configure Apache proxypass through AJP

I am new to webserver configurations. I am provisioning the new server. Installed apache and Tomcat6 in my new server. Here I need to do proxypass from Apache to Tomcat using AJP. I did the search ...
3
votes
1answer
3k views

How to re-activate disabled Apache 2.2 AJP connections?

I don't use AJP for load-balancing; I have a single Apache 2.2 instance that proxies some URLs to a single Tomcat 7 instance via AJP. When Tomcat is down, the AJP proxy becomes disabled on the first ...
0
votes
1answer
2k views

Setting up AJP with JBoss 7

I have two different versions of JBoss on a server, JBoss 6.0 Final and JBoss 7.0.2. I can one run or the other by switching a couple of sym links and issuing a "service jboss start" command. I am, by ...
-1
votes
1answer
636 views

Root redirect with Tomcat 7 and Apache reverse proxy

Expected behavior: Requests to example.com should redirect to example.com/. Problem: Requests in a browser (Firefox) to example.com succeed. Requests in a browser to example.com/ redirect to ...
3
votes
2answers
4k views

How get I the Tomcat AJP-Connectors working?

I want to access Tomcat through the Apache-webserver using connectors. I sticked to the documentation: http://tomcat.apache.org/connectors-doc/generic_howto/quick.html I only modified it a little to ...
1
vote
2answers
3k views

Nginx as a reverse proxy to a Tomcat instance via the HTTP connector

I'm dropping Apache as a reverse proxy to a Tomcat instance, mainly because it has no other purpose other than forwarding requests to the Tomcat instance. I'm no expert at deploying Java Web ...
1
vote
2answers
619 views

How to configure apache (+ajp?) with tomcat example.com domain and php blog.example.com subdomain?

I've been searching for a solution online for quite some time but can't seem to find a decent answer, so I might try my luck here... I'm trying to configure apache+tomcat so that my domain ...
1
vote
1answer
927 views

Equivalent of JkMount with AJP in Tomcat 6

It is my understanding that JkMount is deprecated and no longer used in tomcat6. How would I make the following rule with only ajp? JkMount /*/servlet/* ajp13
2
votes
4answers
3k views

Absolute urls not working with Apache2 AJP proxy Tomcat

I don't seem to get how to configure ReverseProxy correctly. The URLs returned are all for the root directory "/", not "/tomcat" and only the main "default" tomcat page is displayed. I use Apache2 as ...
0
votes
1answer
242 views

redirection problem with mod ajp

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 ...
0
votes
3answers
276 views

Apache forwarding everything to Tomcat except webmail

Just asked on StackOverflow, but more appropriate here. I have my Apache HTTP server set up to forward all requests to Tomcat, i.e. proxy_ajp.conf looks like: ProxyPass / ajp://localhost:8009/ ...
0
votes
1answer
64 views

tomcat 5.5 + apache Configure a group app inside tomcat

My apache redirects to my tomcat <VirtualHost www.example.com:80> ... ProxyPass http://localhost:8080/ ProxyPassReverse http://localhost:8080/ ... </VirtualHost> But my ...
3
votes
2answers
6k views

How can I set use mod_proxy_ajp with Apache and Tomcat?

I'd like to run Apache and Tomcat on an RHEL 5 server with Apache handling Ruby on Rails apps (through mod_rails/Passenger) and Tomcat handling Java apps. Under Apache, each Rails app will have a URL ...
0
votes
1answer
3k views

How do I configure uriworkermap.properties in server.xml for Apache - Tomcat integration?

I am so close to completing my first custom install that I can 'taste it' ... I am following Apache Tomcat install and I have both servers working side-by-side. My Apache server is configured to the ...
0
votes
1answer
3k views

Why aren't connections released by the tomcat AJP connector

I have here a jboss with a web application. The tomcat is configured to use the ajp connector. Incoming connections are tunneled via an apache reverse proxy to the connector. Now I recognized that ...
15
votes
6answers
38k views

Apache+Tomcat having problems communicating. Unclear error messages. Bringing down websites hosted under Tomcat

Setup: Fedora 8 Apache 2.2.8 Tomcat 5.5.8 Apache is forwarding requests using AJP. Problem: After a certain period of time (no constant at all, can be between an hour or two, or one or more days) ...
4
votes
3answers
7k views

How to redirect Apache to different ports on a GlassFish server?

I have a GlassFish instance running different services on different ports. An Apache web server sits in front of the GlassFish, and I want to set up virtual hosts on Apache to redirect to certain ...
3
votes
2answers
6k views

Increasing timeout for mod_proxy_ajp connections

I've got my apache (2.2.3) talking to tomcat 6.something through mod_proxy_ajp. I have some ridiculously long lived requests (2-6 minutes) and I think we're hitting some default timeout somewhere... ...