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
113
votes
3 answers

apache to tomcat: mod_jk vs mod_proxy

What are the advantages and disadvantages of using mod_jk and mod_proxy for fronting a tomcat instance with apache? I've been using mod_jk in production for years but I've heard that it's "the old way" of fronting tomcat. Should I consider changing?…
cherouvim
  • 31,725
  • 15
  • 104
  • 153
71
votes
5 answers

Apache 2.4 configuration for ssl not working

Apache Server 2.4 with mod_jk 1.3.7 not working for ssl (https) Error 1: The Apache service named reported the following error: SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache…
Meuk Light
  • 985
  • 1
  • 7
  • 9
18
votes
2 answers

Apache Web Server : ProxyPass and ProxyPassReverse

I have scanned through the internet and also stackoverflow and I'm still not sure of the purpose of proxypass and proxypassreverse. Why do we need proxypass (instead of using mod_jk) for apache server to connect to tomcat?
yapkm01
  • 3,590
  • 7
  • 37
  • 62
15
votes
4 answers

Scoreboard is full,not at MaxRequestWorkers

I an using Apache and Tomcat with mod-jk in my project. My web application is in Tomcat instances. I am using Apache jmeter for testing http load on tomcat. But I'm getting the error Scoreboard is full,not at MaxRequestWorkers even with 1000…
user3393080
  • 151
  • 1
  • 1
  • 5
12
votes
1 answer

How to install mod_jk on Mac OS X

I am looking for a correct way to install mod_jk on Mac OS X 10.7 Lion or above. The goal is to test Tomcat behind Apache HTTPD. I've found so far the only way to install mod_jk is to download source then configure it in the console and make and…
Vladimir
  • 4,782
  • 7
  • 35
  • 56
11
votes
2 answers

mod_jk Tomcat-Apache connector, 1st webapp works, 2nd webapp inaccessible

I have a configuration problem that has me stumped. I have a couple webapps that run in Tomcat and are connected and accessed through Apache httpd. I previously used Tomcat 7 and Apache 2.2, and I installed Tomcat 9 and Apache 2.4 and loaded my…
Michael K
  • 1,031
  • 2
  • 14
  • 27
11
votes
3 answers

Apache2 mod_jk segfaults with OS X Mavericks

I upgraded to Mavericks just yesterday, and had to reinstall mod_jk for my development environment. Compiling it from source was a bit of a pain. I found this page on a previously-asked question about mod_jk on OS X, but there were a couple extra…
aarestad
  • 586
  • 1
  • 5
  • 19
10
votes
4 answers

Tomcat stops responding to JK requests

I have a nasty issue with load-balanced Tomcat servers that are hanging up. Any help would be greatly appreciated. The system I'm running Tomcat 6.0.26 on HotSpot Server 14.3-b01 (Java 1.6.0_17-b04) on three servers sitting behind another server…
Bruno Reis
  • 37,201
  • 11
  • 119
  • 156
8
votes
3 answers

(48)Address already in use: make_sock: could not bind to address [::]:80 on OS x Mavericks

I just updated my OSX yesterday with Mavericks and now I am getting error while using apache and Jetty. It used to map my example.com domain directly to the localhost. Now It seems broke on do to run my application server I have to explicitly…
Jignesh Sheth
  • 131
  • 1
  • 2
  • 4
8
votes
3 answers

What causes java.lang.IllegalStateException: Post too large in tomcat / mod_jk

what configuration needs to be tweaked, and where does it live, in order to increase the maximum allowed post size?
masukomi
  • 10,313
  • 10
  • 40
  • 49
7
votes
1 answer

How to use mod_rewrite with Apache -> mod_jk -> tomcat setup?

Related to some of my earlier questions. I now have a setup I quite like; Apache httpd listening on port 80 accepting http and https connections. Several Tomcat instances running on several AJP ports. Mod_Jk is sending different url requests to…
Nick Foote
  • 2,425
  • 9
  • 36
  • 47
7
votes
1 answer

How to install mod_jk (Apache Tomcat Connectors) on Windows Server?

I'm a new technical. My problem is, I have the web application that running on tomcat7. now i want to install and configure mod_jk on windows server to connect apache and tomcat. Please tell me, how to do that? Thanks
Udom
  • 329
  • 2
  • 4
  • 18
6
votes
0 answers

mod_jk unable to connect with tomcat9

After unzip the tomcat9 package available on tomcat.apache.org, and have the mod_jk configured to…
Kleber Mota
  • 8,521
  • 31
  • 94
  • 188
6
votes
1 answer

Apache + Tomcat with mod_jk: maxThread setting upon load balancing

I have Apache + Tomcat setup with mod_jk on 2 servers. Each server has its own Apache+Tomcat pair, and every request is being served by Tomcat load balancing workers on 2 servers. I have a question about how Apache's maxClient and Tomcat's…
c4il
  • 965
  • 3
  • 16
  • 27
6
votes
1 answer

spring-boot fronted with Apache and AJP

There are a lot of documents out there explaining that you should use various other things (including simple proxying) but AJP is flexible and fast, and it really helps me integrate our SAML2 SSO without any of the webapps having to worry about any…
wz2b
  • 1,017
  • 7
  • 24
1
2 3
28 29