0
votes
0answers
19 views

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 ...
1
vote
1answer
95 views

404 in Tomcat manager with AJP connector

I'm trying to configure Tomcat 7 on CentOS 6 with Apache mod_jk, SSL, and an AJP connector. The JK module is installed under Apache: $ sudo httpd -M | grep jk jk_module (shared) Syntax OK Tomcat ...
0
votes
0answers
104 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
37 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
122 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
98 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
1k 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
690 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
469 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
229 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 # ...
3
votes
1answer
4k 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 ...
-1
votes
1answer
706 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 ...
4
votes
2answers
5k 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
645 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
993 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
244 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
280 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
67 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
7k 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
4k 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 ...
16
votes
7answers
40k 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
7k 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... ...