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
1
vote
3 answers

How to get httpd to forward to multiple tomcats for different urls, including /?

Ok So I've got multiple tomcat instances setup on several AJP ports, I also have Apache httpd listening on port 8090 (cos I've got another app already using 8080 at the moment). I've successfully mapped urls such as mydomain.com:8090/demo and…
Nick Foote
  • 2,425
  • 9
  • 36
  • 47
1
vote
1 answer

JkEnvVar SSL_CLIENT_CERT doesn't work when "SSLVerifyClient require" (setup on a directory-level)

[My environment is this: Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.2.9-2 mod_jk/1.2.31 (although we get the same behavior under an Ubuntu 10.04.2 LTS with similar apache/mod_jk/tomcat specs)] I have setup a virtual host for serving…
tpav
  • 11
  • 1
  • 2
1
vote
0 answers

How do I point two Tomcat instances at the same folder for static content?

Is there a recommended method of sharing static content such as PDF documents among two Tomcat instances running on the same server? Background: I want to migrate our app server from a single instance of Tomcat to two instances, using mod_jk, so we…
1
vote
0 answers

Getting two log messages that seems to stall the website running Vaadin 8 with tomcat behind apache using mod_jk

I keep getting lots of these warnings in my logs: WARN  o.atmosphere.cpr.DefaultBroadcaster - Duplicate resource fda35646-a562-4366-933a-ba93a01297ea. Could be caused by a dead connection not detected by your server. Replacing the old one with the…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
1
vote
1 answer

invalid message signature AJP 514

We are facing issue with the large request-header. Recently we came to know that some of the large cookies got sent to the server which goes beyond the default limit of 8192. We tried to bump max_packet_size in workers.properies(mod_jk) as well as…
DKS
  • 21
  • 1
  • 4
1
vote
1 answer

Jboss EAP 7 JSESSIONID instance-id not appended

It seems the instance-id in JSESSIONID is added when using standalone-ha.xml and not with standalone.xml, at least in my case: # Standalone (instance-id not appended) [mad@max bin]$ ./standalone.sh -Djboss.instance.id=node1…
Max Nicholson
  • 101
  • 1
  • 3
  • 8
1
vote
1 answer

What happens to mod_jk sticky sessions on apache httpd reload|graceful

As said in the title, i'd like to know if active mod_jk sticky sessions will get preserved if i restart apache webserver with reload or graceful (running on linux (centos5)).
user582846
  • 23
  • 5
1
vote
0 answers

Custom Error Page Set up in ssl.conf with jkmount

I want to set up a custom error page under ssl.conf, i have already made it working without ssl with the same set up which i have posted below. But with ssl my browser is continuously saying "Establishing secure connection in chrome or tls…
Vikash Singh
  • 884
  • 8
  • 11
1
vote
1 answer

mod_jk gives Bad gateway

I have Oracle mapviewer running on glassfish server version 4.1. It has been running with no problems on port 8080. The operating system is Oracle Linux 4.1.12-61.1.22.el6uek.x86_64. Recently we have decided to access glassfish applications through…
1
vote
0 answers

How can I get Apache httpd web server to process mod_include directives after the file been processed by Tomcat?

I currently have Apache httpd and Tomcat running on the same server and the DocumentRoot of my httpd instance is the same as the webapps directory of tomcat. mod_jk is used to connect httpd and Tomcat. Using this setting in my httpd.conf file…
TroyP
  • 11
  • 3
1
vote
0 answers

how to keep session in tomcat servers while load balancing?

I am trying to make a tomcat load balancing using Apache and mod_jk, in those tomcat instances there will be some operations that last for 10 hours . how can i guaranty that the same client in the next session will have access to his operations and…
bibou test
  • 35
  • 1
  • 8
1
vote
1 answer

Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client %s] ModSecurity: %s%s [uri "%s"]%s

I just integrated Apache Httpd 2.4.25 with mod_security 2.9.1. And now i got this error messages: /* --ba380000-H-- Message: Error reading request body: Partial results are valid but processing is incomplete Apache-Error: [file "apache2_util.c"]…
Udom
  • 329
  • 2
  • 4
  • 18
1
vote
1 answer

jkmount passes mount path to tomcat

I'm using JKMount /rest/* ajp13_worker JKMount /rest ajp13_worker to serve php at domain.com and my servlets at domain.com/rest/. However, when i go to domain.com/rest/, it acts like i entered domain.com/rest/rest, so tomcat…
1
vote
0 answers

Connection threashhold exeeded, while loadbalancing tomcat. with apache, and mod_jk

I inherited a java webapp running on two tomcat instances, and load balanced by apache2.2 mod_jk 1.2.19. This connects to a DB on a separate server. 4 servers in total. The DB admin noted for the last couple of days a sudden increase in application…
vanPlaas
  • 21
  • 3
1
vote
0 answers

Can't install mod jk for apache

I want to use mod_jk, i have the source, but when i run "./configure --with-apxs=/usr/sbin/apxs" i get this no apache given no netscape given checking that generated files are newer than configure... done configure: creating ./config.status I…
BOUKANDOURA Mhamed
  • 941
  • 1
  • 9
  • 25