Questions tagged [mod-jk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

getting 403 forbidden error using httpd (apache) connecting to tomcat via AJP

i am staring to be little bit hopeless since i tried many solutions and nothing worked. I am getting 403 Forbidden error when i try to reach my apache Tomcat server via httpd server (used as ...
Jeremy Panko's user avatar
0 votes
0 answers
30 views

mod_jk - 2 JkMount Directives with the same URL but different workers

I have a question. How would the following mod_jk directives be interpreted? <VirtualHost *:443> ServerName backend.example.com ... JkMount /api/prod worker1 JkMount /api/prod/* ...
Jeevan Pillai's user avatar
0 votes
1 answer
158 views

What's causing a single Apache2 worker (using mod_jk) to not reload for weeks?

I've got a Debian 10 server running Apache2 2.4.38. Recently, I replaced the SSL certificate file used by all of the configured HTTPS vhosts and ran systemctl reload apache2.service, which runs /usr/...
JK Laiho's user avatar
  • 197
0 votes
0 answers
906 views

Apache HTTP Server Version 2.4 - How to get real IP Address -Centos 7

I have a mod_jk httpd server (server ip: dummy1) and it sits behind a load balancer (server ip : 0.876.123.12 and 0.876.123.13). Basically when a request comes in it goes to the load balancer then ...
user1999453's user avatar
1 vote
1 answer
714 views

tomcat9 shibboleth+mod_jk authentication forbidden

I have a Spring Boot application running currently under Tomcat 8.5 that has a shibboleth-based SSO integrated. Shibboleth and tomcat are connected using apache2 mod_shib and mod_jk, using default ...
P.Péter's user avatar
  • 629
0 votes
1 answer
2k views

How can I test an ajp worker (tomcat10, apache 2.4.6)?

I have a simple server setup: Apache 2.4.6 JK Worker for talking with Tomcat, where a REST service is living Tomcat 10 Virtual Host In my virtual host file I have this configuration (snippet in <...
BairDev's user avatar
  • 125
1 vote
1 answer
191 views

Apache mod_jk SSL & appBase

I'm setting up mod_jk for Apache to use with Tomcat and there are two issues I've ran into. SSL I have SSL enabled on Apache and all traffic is going through HTTPS, including the requests forwarded to ...
stripies's user avatar
3 votes
3 answers
11k views

mod_jk unable to connect with tomcat9

After unzip the tomcat9 package available on tomcat.apache.org, and have the mod_jk configured to this: workers.tomcat_home=/opt/apache-tomcat-9.0.34 workers.java_home=/opt/jdk-13 ps=/ worker.list=...
Kleber Mota's user avatar
1 vote
2 answers
377 views

Use tomcat webapp as the root path for apache/mod-jk virtualhost

I have configured a server where lies several domains, and more than one of them have a ajp13-worker associated to it. The configuration file looks like that: <VirtualHost *:80> ...
Kleber Mota's user avatar
0 votes
2 answers
2k views

tomcat 7.0.100 AJP connector with mod_jk on another host

After upgrading tomcat7 to 7.0.100, the AJP connector was only listening on 127.0.0.1. Initially I edited the wrong server.xml in /etc/tomcat7/server.xml which was not used. The right one is /var/lib/...
Thomas's user avatar
  • 51
1 vote
1 answer
216 views

JkMount on the basis of FQDN for multiple applications

using Apache HTTPD and Tomcats, I have to run two different applications on different URL's. 2 Tomcats are serving their own applications. www.abc.com www.xyz.com My Worker.properties for this is ...
kah's user avatar
  • 21
0 votes
1 answer
379 views

Glassfish JK SSL Listener 502 Bad Gateway

I have set up a very simple Apache + Glassfish cluster configuration. It works fine if I create and use a listener that use the default http-listener-1. However, if I switch to a secure listener ...
Leonardo's user avatar
  • 103
0 votes
0 answers
517 views

Apache with mod_jk http to tomcat https Bad request

Dears, I have JSP application sitting on Apache tomcat. I have installed apache2.4 and enabled SSL with mod_jk and kerberos basic authentication working very well when i go to: https://mysite/App with ...
SAAD3000's user avatar
0 votes
1 answer
2k views

Sporadic mod_jk Client Errors when uploading large files

Note: There is a TL;DR at the end of this question. I have a nightly backup script that has been working reliably for 6 years, and two months ago, it began to fail to upload to my archive server (...
Parker's user avatar
  • 773
0 votes
1 answer
4k views

errno=13. Unable to start due to shared memory failure

I have integrated httpd with tomcat by help of mod_Jk. In this case, selinux is enforcing condition. Due to enforcing enable in Selinux that's why I am unable to run the httpd in our linux server(...
Birendra Rawat's user avatar
0 votes
1 answer
818 views

How do I tell mod_jk with load balancing to stop using a specific tomcat instance?

I've got apache/tomcat8 setup with mod_jk with load balancing. Let's say I want to update one of the tomcat8 instances, maybe update tomcat itself, then how do I tell mod_jk to stop sending any new ...
user18969's user avatar
  • 113
0 votes
0 answers
2k views

java.io.UnixFileSystem.getBooleanAttributes0(Native Method)

My OS=CentOS Jdk + Tomcat 8.5 + mod_jk connector Here is error: HTTP Status 500 – Internal Server Error Type Exception Report Message Servlet execution threw an exception Description The server ...
Raakh's user avatar
  • 23
0 votes
1 answer
584 views

apache 2.4 tomcat 8 Permission Denied

I have an apache 2.4 on Debian Jessie and I host several sites as virtual hosts. On of these sites is running on jsp so I hav installed tomcat 8 and I use mod_jk. My virtual host configuration file ...
Christoforos's user avatar
0 votes
1 answer
408 views

Apache Load Balance wrong balancing

I have 2 backend servers on the same network and 2 Tomcats on both machines with the same application. Additionally, I have a main machine where I load my app and which choses to which worker requests ...
K. Martin's user avatar
0 votes
1 answer
4k views

Load index.html by default in apache2

I have set up apache2 web server and tomcat with mod_jk module in between to delegate static content to apache2. I have created /var/www/example/index.html and want this to be loaded when entering ...
user2908112's user avatar
0 votes
2 answers
648 views

How to know if Apache HTTP is taking control over Apache Tomcat

I have a web application running over Tomcat flawlessly, but prior to redirections and other security improvements I have to run httpd connected to tomcat. httpd is running, but I actually don't ...
Rajo's user avatar
  • 1
0 votes
1 answer
1k views

How do I correlate the Apache mod_jk log with the Tomcat instance log for troubleshooting?

In my Apache mod_jk log I have entries in the format like: [Wed Oct 26 10:59:43 2011] [3732:2460] [error] jk_ajp_common.c (1618): (myJbossServer) Tomcat is down or network problems. Part of the ...
johnny's user avatar
  • 2,348
0 votes
1 answer
7k views

I can't start Apache with module mod_jk [duplicate]

I have installed an Apache HTTP Server in CentOS 7. After installation it runs successfully. Then I tried to add the mod_jk module following these steps. I downloaded the Tomcat Connectors ziped ...
Carlos Durán's user avatar
2 votes
0 answers
632 views

Apache + MOD_JK: Rewriting URLs + ProxyPassing thorugh AJP

I've a frontal server with Apache 2.4.23 deployed + OpenSSL 1.0.2j. Then I've another server with Tomcat 7 installed. The idea is that Apache has a VHOST on *:443, which uses ProxyPass to send the ...
Lightworker's user avatar
0 votes
1 answer
656 views

Apache2 and Tomcat7 with BASIC authentication (Ubuntu)

I recently deployed a Java webapp on a Tomcat7 fronted by an Apache2 on a Ubuntu 14.04 VPS. I am connecting the Apache2 and the Tomcat7 with mod_jk. All the static resources are server by Tomcat, ...
niilzon's user avatar
  • 101
2 votes
0 answers
941 views

socket_keepalive configuration for mod_jk

I have Apache httpd with mod_jk. I have issue with killed connections after long idling period: Apache stops to respond and each HTTP request hangs for 15 minutes. I tried turn off mod_jk connection ...
Dmitrii Stebliuk's user avatar
11 votes
3 answers
86k views

Failed to load resource: net::ERR_CONNECTION_RESET

Since I started using an application behind a reverse proxy (Apache2's mod_jk), I've noticed some pages would not load; but do load, without the reverse proxy settings. The error in Google Chrome: ...
Mohamed Ennahdi El Idrissi's user avatar
1 vote
1 answer
1k views

Can't seem to get mod_jk to forward 443 to tomcat?

I'm pretty new to Apache and Tomcat, and I'm finding myself working with it a lot of my job, so I'm having to learn as I go. One thing I struggle with a lot is mod_jk, and I'm pretty stumped by an ...
Whitewind617's user avatar
0 votes
1 answer
2k views

AJP Connector not working? (404 error)

I'm trying to connect the Apache WebServer (2.4.10) to Tomcat 7, both located in two different VMs. It's my first time using those tools. From what I understood a method to check if the connection is ...
RVKS's user avatar
  • 1
0 votes
0 answers
1k views

Apache web server response header expires

I've got an app that runs on a tomcat web server, and I use mod-jk on my apache web server side. I think I've managed to configure everything to work seamlessly, I ran into issues when I wanted to ...
c0mrade's user avatar
  • 81
0 votes
0 answers
240 views

Use mod_rewrite & mod_jk to access different workers

I want to achieve the following: There is one DMZ-proxy over which we want to access multiple application-servers, represented by mod_jk workers. The web-context needs to be the same on all ...
Michael Niemand's user avatar
0 votes
1 answer
2k views

Out of 3, Only one mod_jk worker is not working

I have a server configuration with Apache http Server 2.2 with name based virtual hosts connected to separate Tomcat 7 virtual hosts using mod_jk connector. Previously 2 Apache Virtual Hosts were ...
Prabal Kajla's user avatar
1 vote
0 answers
32 views

Communication between HTTPD and Glassfish server [duplicate]

Currently, Glassfish Server sits behind a Apache HTTPD server. Glassfish server provides business applications along with static content. The idea is to allow Apache HTTPD server to provide static ...
TheMonkWhoSoldHisCode's user avatar
0 votes
1 answer
4k views

Apache returns 503 error accesing address with mod_jk configured

I have a Tomcat server listening at 10881 AJP port. I confirmed it by netstat: tcp 0 0 0.0.0.0:10881 0.0.0.0:* LISTEN 2297/java This is the configuration of ...
Carlos Durán's user avatar
1 vote
1 answer
2k views

Using JkMount in a LocationMatch directive in Apache 2.2

I'm on Debian Wheezy with Apache 2.2.2. I previously had all requests for a VirtualHost forwarding to Tomcat using: JkMount / ajp13_worker JkMount /* ajp13_worker Now, I want to exclude one ...
Jake Cobb's user avatar
  • 113
1 vote
1 answer
868 views

IIS 7.5 JK connector to Tomcat

I have many Tomcat servers working using an older 32-bit version of the isapi_redirect.dll where I set the Default Application Pool to Enable 32-Bit Applications. On a client's server, they need to ...
OrangeGrover's user avatar
0 votes
1 answer
295 views

Tomcat, Apache, MySQL tuning

I am currently using AWS infrastructure to host my mobile web application. I use Apache Web Server, mod_jk to pass on requests to Tomcat which further communicates with MySQL DB using connection pool. ...
user23577's user avatar
0 votes
1 answer
836 views

Virtual Hosts, apache, mod-jk and tomcat [closed]

I have a tomcat(running on 8080) application on my cent os server and i can access it with the url: SERVER_IP:8080/myapp and I have my admin panel on SERVER_IP:8080/myapp/admin and I have an ...
cuneyttyler's user avatar
1 vote
0 answers
7k views

mod_jk losing connection with tomcat

I'm running an Apache tomcat + mod_jk 1.2.40 behind an apache web server. Everything has been setup and works properly for some amount of time since a tomcat startup (measurable in days/weeks); then ...
reallynice's user avatar
0 votes
1 answer
975 views

Log Outgoing Apache Port on AJP Connection

I have Tomcat 7 set up to work with mod_jk and AJP. I'm wondering if, on the Tomcat side, I can log the mod_jk (Apache side) outgoing port with the Tomcat request handler thread name in order to track ...
Andy's user avatar
  • 142
-1 votes
1 answer
8k views

Request Entity Too Large mod_jk

I have setup where there is apache (httpd) and apache tomcat both are connected with ajp and in my http.conf LimitRequestLine 65536 LimitRequestFieldSize 65536 under <VirtualHost> and outside ...
Jigar Joshi's user avatar
0 votes
1 answer
2k views

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 ...
Umair's user avatar
  • 1
1 vote
1 answer
2k 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 is ...
Jon W's user avatar
  • 11
2 votes
1 answer
972 views

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 ...
Daniel's user avatar
  • 131
0 votes
1 answer
319 views

subdomain tomcat under apache2 is ignored (Ubuntu)

My problem seems quite simple, but I have no clue where the problem comes from I have apache2, mod_jk, and two apps tomcat, main and test I would like to use main for the "main domain" (so, if I have ...
Hermios's user avatar
  • 113
0 votes
1 answer
648 views

How to reload mod_jk

I work under Ubuntu. Each time I restart apache2, it tells me that jk_module is already loaded, so it skips it. Problem : I think I misconfigured something, so I changed it, but since it is not ...
Hermios's user avatar
  • 113
3 votes
2 answers
8k views

Apache httpd mod_rewrite with Tomcat resulting in lost JSESSIONID

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 ...
sldk's user avatar
  • 151
0 votes
1 answer
1k 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 ...
TJ-'s user avatar
  • 61
5 votes
1 answer
2k 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 ...
Blama's user avatar
  • 173
0 votes
0 answers
59 views

performance issue in tomcat

I have a load balancer, under load balancer I have to apache webservers with Mod_jk. Sticky session enabled in both load balancer and webservers. I have two tomcat servers(both are clustered/session ...
sree's user avatar
  • 101