Questions tagged [mod-jk]

mod_jk is the connector used to connect the Tomcat servlet container with web servers using AJP protocol.

mod_jk, the Apache Tomcat Connector, is a replacement to the elderly mod_jserv. It is a completely new Tomcat-Apache plug-in that handles the communication between Tomcat and Apache.

422 questions
0
votes
0 answers

Routing Apache to JBoss production Server

We have a JBoss production on which our Java application is running. We have configured an Apache Server(DMZ) to route the traffic to JBoss production server and to increase security. We have used Apache's mod_jk module for routing to production and…
Umair
  • 81
  • 1
  • 1
  • 8
0
votes
1 answer

direct only sepcified requests to mod_jk balancer

i have created tomcat cluster,load balancing done by mod_jk module. i used xampp Apache as web server. now all the request direct to the balancer. and i cannot access htdocts projects what i need to do is sent only particular URL pattern to the Load…
macavity
  • 407
  • 2
  • 5
  • 9
0
votes
1 answer

Load Balance Apache Httpd, Mod_Jk 32bit, Tomcat 7, Windows 2008 R2

Please need help in configuring the Load Balancer with Apache HTTPD 2.4 and Tomcat 7. I have seen many posts on this topic and managed to configure to an extent. The strange problem i am facing is if I start 2 instances of tomcat and try to browse…
0
votes
1 answer

httpd AND Tomcat with mod_jk on Port 80 test fails

I need locally on windows 7 machine to start tomcat's example applications on port 80 like this: http://localhost:80/examples/ . I m following this great and simple tutorial and it works great when trying any of the tutorial's…
George Papatheodorou
  • 1,539
  • 19
  • 23
0
votes
1 answer

Why does mod_jk bypass Apache authorization?

Since switching from Apache 2.2 authorization gets bypassed for many JkMounts (except jk-status). If I cancel the browser password popup, I get a 401-page. It is not, as I expect, the one from Apache, but instead from JBoss, which it shouldn't…
Daniel
  • 521
  • 1
  • 4
  • 13
0
votes
1 answer

How to Enable Sticky Sessions in tomcat loadbalancer?

My task is to loadbalance web traffic among Apache Tomcat server instances via mod_jk. I already have configured the load-balancing, but It does not keep the same session for same request, it redirects to another Tomcat server instance.
Madura Dissanayake
  • 8,309
  • 5
  • 25
  • 34
0
votes
1 answer

multiple tomcat versions on one server

I maintain a webserver that contains 3 jsf2-web applications, deployed currently on tomcat7. Our architecture is set up using mod-jk from apache over port 80 to the three instances, one for each web application. Besides different other reasons, I…
Jörg Henke
  • 123
  • 2
  • 10
0
votes
1 answer

Load balancer not forwarding request to second tomcat instance

I am running 2 instance of tomcat on my machine with following entries in server.xml in both tomcat : Tomcat 1::
Sebb77
  • 2,431
  • 2
  • 17
  • 18
0
votes
0 answers

Application is slow on domain which connect application through AJP Connector

My application is deployed on port 8080 on JBoss 6. I used Apache as Web Server on 80 port and connected to JBoss application server by MOD_JK. When i open application with public URL on 8080, speed is Okey. But When i open through domain then…
Ashish Agarwal
  • 2,946
  • 1
  • 14
  • 14
0
votes
0 answers

Why switching from mod_proxy_http to mod_jk prevents connection to Tomcat?

I have the HTTP Apache server that is connected to Tomcat either by mod_jk or mod_proxy_http. So far, the connection by mod_proxy_http works fine but the connection by mod_jk results in the not finding the path error, for example: The requested URL…
Alex
  • 7,007
  • 18
  • 69
  • 114
0
votes
1 answer

mod_jk fail after modify JKMount path (apache2.2 + tomcat7)

I am trying integrate apache2.2 and tomcat7 by mod_jk. I have found some examples on web and trying to figure it out. But still not clear for me. Following is my config Apache config /etc/apache2/mods-available/jk.conf:
Hsing Yi
  • 163
  • 1
  • 2
  • 15