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
99 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 ...
1
vote
2answers
448 views

Apache httpd mod_rewrite with Tomcat resulting in lost JSESSIONID

So I'm working on a Java web application, for which I recently implemented an authentication module that relies on the JSESSIONID cookie to identify users. I was testing on a local tomcat from eclipse ...
0
votes
1answer
95 views

Several JkUnmount(s) in multiple VirutalHost(s)

I am trying to configure multiple VirtualHosts in my mod_jk.conf. I have a few JKMounts and several JKUnmounts which will be common to all of the VirtualHosts. I was trying to move these *mounts to ...
3
votes
0answers
133 views

Compression of Tomcat mod_jk results in Apache httpd

I'm developing a web application locally on my system, serving it using Tomcat (tomcat-7.0.52). In production, I want to front the Tomcat with an Apache httpd (Apache/2.2.15). This works and I ...
1
vote
1answer
83 views

High Volume Settings for Apache / Tomcat/ Mod.JK

I have a 3.5 GB 2 CPU server running on tomcat/apache with mod.jk. We are seeing our server itself having plenty of memory available and tomcat is not showing anything crazy in terms of GC. We have ...
0
votes
0answers
59 views

mod_jk failover isn't working

I'm trying to use mod_jk feature of fail-over and move sessions from one worker to another. I see that the cookie append the correct cookie name, but when one server is being closed, the requests ...
0
votes
2answers
138 views

Apache not routing to tomcat on correct Virtual host

We are looking at moving from Websphere to Tomcat. I'm trying to send traffic to tomcat from apache web server based on the virtual host directives in apache web server. After some playing around I ...
4
votes
1answer
570 views

Varnish + Tomcat vs Apache + mod_jk + Tomcat

Does anyone have some performance metrics for Varnish in front of 1) Tomcat or 2) Apache with mod_jk (connected to Tomcat). I know that the AJP connector is supposedly faster than HTTP, but I was ...
2
votes
1answer
135 views

Why does mod_rewrite not reprocess rewritten paths?

I'm doing a path rewrite to set and environment variable that will cause mod_jk to use a specific JBoss server. Works perfectly with any of the application paths. When I try our monitoring servelet ...
1
vote
3answers
1k views

mod_jk produces Error smh errno=13

I am trying to use mod_jk for load balancing. Loadbalancer 172.17.8.189 (HTTPD+mod_jk) Node1 172.17.8.193 (apache tomcat instance 1) Node2 172.17.8.196 (apache tomcat instance 2) I checked my tomcat ...
1
vote
0answers
197 views

mod_jk tomcat error handling

I have a strange problem with my tomcat cluster. The cluster consists of 1 Apache with mod_jk and 6 Tomcat servers - each tomcat server is a own virtual machine. The cluster works as expected, ...
0
votes
1answer
737 views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
0
votes
0answers
665 views

Confusion setting up a simple tomcat6 clustering on ubuntu 12.04 using mod_jk: status page won't show

am a little confused when setting up 2 tomcat6 instances cluster in a clean ubuntu server 12.04. i didn't install default tomcat6 i used tomcat6-user's tomcat6-instance-create to create 2 instances. ...
0
votes
1answer
176 views

mod_jk not tries to connect

I have the following strings in /var/log/httpd/mod_jk.log [Fri Apr 05 20:48:04.709 2013] [11848:46912530825504] [info] ajp_service::jk_ajp_common.c (2543): (ajp13) sending request to tomcat failed ...
0
votes
1answer
5k views

Why - Could not find worker with name 'jk-manager' in uri map post processing?

I am using apache2 + mod_jk(ajp protocol) + tomcat7. but I always get the error below: [Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized ...
1
vote
0answers
174 views

mod_cluster and Tomcat load balancing design

I am fairly new to Load balancing. I am able to setup a load balancer using Apache httpd, mod_jk and tomcat. Now the problem is we would like to have design in the following manner, ...
1
vote
2answers
963 views

Apache & Tomcat Load balancing via Mod_jk issue

I hope this finds you all in the best of your health and spirits. I have an issue with a new setup where I currently have 1 APACHE 2.2.15 & Tomcat 6.0.14 on RHEL. Mod_JK version 1.2.30. Ill add ...
1
vote
0answers
337 views

Could not get endpoint for worker (jk_handler::mod_jk.c)

I am using Apache2 with Tomcat on debian Lenny, When I try to access the site, its working but sometime I am getting error 500 "Internal server error". From the mod_jk.log, I could find the following ...
0
votes
1answer
453 views

How to prevent mod_cluster as single point failure?

In my configuration i used Apche+mod_cluster as a front_end(load balancer) server and two JBOSS AS 7.1.0 as backend server. In my configuration on one system i have install Apache+mod_cluster + JBOSS ...
0
votes
1answer
183 views

plesk+ tomcat + mod_jk + jsp gives 404

I trying to install myhello-world.war to plesk tomcat5, I doing "install java webapp", but when i go http://domain.com/mytomcat-helloworld/pages/myhelloworld.js I getting: 404 ...
2
votes
1answer
828 views

how to disable mod_jk log completely?

My mod_jk.log gets 2MB bigger in an hour and all it has entries like : [Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.690152 [Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.002675 [Mon Aug 13 ...
0
votes
3answers
103 views

Share a Tomcat Node to multiple LoadBalancer?

Can one tomcat instance (with an ajp connector) be accessed by two different loadbalancers (httpd+mod_jk)? Thanks!
2
votes
1answer
627 views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
0
votes
1answer
894 views

Configuring Apache with Tomcat and phpmyadmin

We have a server with Apache 2.4, Tomcat 7 and phpmyadmin, all of them installed by source, no repository. I connected Apache with Tomcat through the jk connector by doing: JkMount /* worker1 and ...
2
votes
1answer
615 views

significant page load speed difference : directly accessing Tomcat (localhost) VS accessing tomcat via Apache (mod_jk connector)

I have a tomcat v6 which contains 2 web applications (JSF2.0 and JSP). The physical server is RedHat Enterprise with 16GB memory. In current form, the tomcat is exposed to the internet via apache ...
1
vote
1answer
768 views

Connection from Apache to Tomcat via mod_jk not working

I would like to connect apache to tomcat via mod_jk (same machine). The ajp connector in tomcat is listening on port 8009, the worker settings are: worker.worker1.port=8009 ...
2
votes
2answers
4k views

IOException: Socket read failed using Apache 2, mod_jk and Tomcat over AJP

I am getting the following Exception from time to time when my users are connecting with their Android devices to out JSON Rest Service: java.io.IOException: Socket read failed at ...
1
vote
1answer
166 views

When is necessary integrate Apache httpd with apache tomcat (mod_jk)?

Apache sites, recommend the integration of httpd and tomcat(mod_jk). The first for static and the second for dynamic content. What about the case that the entire page is dynamic. Does it still make ...
1
vote
0answers
87 views

tomcat/mod_jk- error trying to configure mod_jk with tomcat+apache web server

I am trying to configure mod_jk so that http://domain.com/ is served by Apache while http://app.domain.com/ is served by Tomcat. Now when I go to app.domain.com, I can see Tomcat message, however I am ...
1
vote
1answer
225 views

tomcat7 beginner- using mod_jk with multiple different domains

I am setting up a server where "domain1.com" and "domain2.com" should be served by Apache HTML/PHP server, while "app.domain1.com" and "domain3.com" should be served by Apache Tomcat. I want to ...
0
votes
1answer
2k views

Apache mod_jk Setting for Tomcat - workers.properties

I am trying to direct files with .jsp extensions to tomcat. Otherwise I want apache to serve the file directly (no tomcat). Currently I have a test.jsp which is supposed to create an HTML page with ...
0
votes
3answers
2k views

SSL connection to Tomcat (behind Apache - mod_jk)

The SSL connection is working for every page on the Apache server except these served to Tomcat. Tomcat works well on http connection. The setup: Apache/2.2.21 Tomcat-7.0.23 mod_jk to connect them ...
1
vote
1answer
352 views

Apache + Tomcat: Connection, but not via mod_jk

I am tasked with installing a new system to take over the job of an old system. The old system is a Ubuntu installation running Apache and Tomcat, as well as a few other services. The new system will ...
1
vote
1answer
1k views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
0
votes
1answer
479 views

JkMount outside of the <VirtualHost> using /sites-enabed/

I have an Ubuntu 11.10 with Apache2 that is hosting some sites. I would like to add a site that is hosted in tomcat, so I installed mod_jk and set it up. The tomcat site is hosted under /app over ...
1
vote
1answer
1k views

Apache2 mod_jk LoadBalancer + Tomcat7 - Performance-Tuning

we have a very high load System with round about 8.5 Million User per day. Actually we have 8 Apache2 Loadbalancer (Ubuntu 10.04.3 LTS x64 via DNS-RoundRobin) which are sending the traffic via AJP1.3 ...
1
vote
1answer
338 views

Apache & Tomcat & mod_jk SSL redirection on certain pages only

We have a single Windows server running Apache and Tomcat with mod_jk enabled. The Tomcat app runs perfectly fine as does the separate PHP app (under Apache). We installed a commercial SSL cert ...
0
votes
1answer
134 views

mod_jk between apache and tomcat: making sure 8080 requests still go to tomcat

This question follows a mod_jk configuration question asked earlier. I have managed to to have http://mywebsite.com/MyTomcatApp/ go to Tomcat while having http://mywebsite.com/ go to Apache. However, ...
1
vote
1answer
271 views

mod_jk configuration for both Apache and Tomcat on same server

I am trying to set-up a proper configuration to have Apache serve some static html pages and to pass other requests for dynamic pages to Tomcat. So far, I have installed Apache2 and Tomcat6 ...
0
votes
1answer
293 views

Deploying war with custom context in Tomcat

I have a Tomcat server fronted by Apache with comms using AJP. The configuration uses JkMount for mapping URLs on Apache to the Tomcat node. I am helping in the deployment of an application which is ...
0
votes
1answer
389 views

Virtual Hosts with Tomcat + Mod JK

I have set up Apache and Tomcat on my system and I want to combine both using Mod_JK. I have created a mod_jk worker (ajp13_worker) and added a virtual host to my Apache config: <VirtualHost ...
0
votes
2answers
52 views

partial shutdown of loadbalanced app

I have a pair of tomcat servers sitting behind an apache server running modjk2. the apache server load balances sessions to the tomcat servers (using x.sticky_session=True). This all works fine, ...
0
votes
1answer
429 views

mod_jk to forward to tomcat installed on other server?

Is it possible to forward the request from IBM HTTP server installed on solaris machine to Tomcat installed on windows machine using mod_jk? IHS is installed on solaris and I have attached mod_jk ...
1
vote
0answers
363 views

Apache, mod_ssl, mod_jk, tomcat and client certificates filtering

I am working on a very specific apache+mod_ssl+mod_jk+tomcat So far, a basic configuration works as I want: accessing my webapps behind all that stuff works great. I am using a wildcard certificate ...
0
votes
1answer
346 views

How to make mod_jk authenticate SSL connections

I have a 3 Tomcat application servers with 3 Apache servers in front. Communication between Apache and Tomcats is done via mod_jk. I need to have secure connections between the Tomcat and Apache ...
1
vote
2answers
613 views

apache 2 + passenger + redmine mapping question

I have these two sites defined in my apache2 server. Redmine server #REDMINE SITE (/etc/apache2/sites-available/redmine) <VirtualHost *:8080> # this is the passenger config ...
0
votes
1answer
108 views

Divide webapps between tomcat instances

I have 300 webapps in a single Tomcat. It takes a while to restart Tomcat plus a few other limitations. I have Two web servers load balanced in current Apache + Mod_JK + Tomcat setup. These servers ...
0
votes
1answer
309 views

Confusion in installing mod_jk on Ubuntu

I am working from this document in trying to install mod_jk http://www.howtoforge.com/apache2_tomcat5_mod_jk_p2 I am at the step towards the bottom where they suggest to use the make command. I was ...
0
votes
1answer
3k views

Apache 2.2.17 + Tomcat 7 on Windows Server?

What's the most painless way for a newbie to get Tomcat 7 and Apache 2.2.17 running together on Windows Server 2008 R2? I want Apache to handle all the static content and for Tomcat to handle the ...