Questions tagged [mod-jk]

The tag has no usage guidance.

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

How can I configure Mod_jk + Tomcat with Plesk

My OS = CentOS 7 + JDK8 + Tomcat8 + Plesk 18 + Apache/2.4.6 + tomcat-connectors-1.2.41 Here is my workers.properties vi /etc/httpd/conf.d/workers.properties worker.list=worker1 worker....
0
votes
1answer
175 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=...
1
vote
2answers
161 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> ...
0
votes
2answers
577 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/...
0
votes
0answers
116 views

mod_jk worker configuration

I have the following configuration: client <----> haproxy <----> apache <------> tomcat for the connection between apache and tomcat I use mod_jk. I have two configuration choices. Either I ...
0
votes
0answers
104 views

mod_jk failover quick when Tomcat is down, slow when hosting server goes down

I have two VM, each one is hosting a signle Tomcat server ( with AJP connector active ) . I enabled sticky session. When I shut down the tomcat server that is currently active, the failover is quick ;...
0
votes
1answer
18 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 ...
0
votes
1answer
53 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 ...
0
votes
0answers
107 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 ...
1
vote
0answers
62 views

Where can i find apache tomcat connector 1.2.46 for windows 32 bit httpd

I'm trying to fix an issue on one of my web server using Apache 2.2. Apache documentation informs me that in order to fix the issue I should change the ISAPI_redirect.dll from 1.2.37 to v1.2.46. The ...
0
votes
0answers
17 views

Install java webapp as root of apache/mod-jk server

I successfully configure apache with mod-jk on my server, and now I can deploy a war file to my tomcat webapps directory, and access it with: https://my-domain/app. my vhost config is this: ...
0
votes
1answer
632 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 (...
0
votes
1answer
838 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(...
0
votes
1answer
264 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 ...
0
votes
0answers
695 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 ...
0
votes
1answer
120 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 ...
0
votes
1answer
148 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 ...
0
votes
1answer
339 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 ...
0
votes
2answers
317 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 ...
0
votes
1answer
961 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 ...
0
votes
1answer
5k 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 ...
2
votes
0answers
391 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 ...
0
votes
1answer
508 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, ...
1
vote
0answers
588 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 ...
10
votes
3answers
51k 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 won't load (They would without the reverse proxy settings). It was a subtle error which I had ...
0
votes
1answer
982 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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
954 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 ...
0
votes
0answers
231 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 ...
0
votes
1answer
1k 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 ...
1
vote
0answers
28 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 ...
0
votes
1answer
3k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
822 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 ...
0
votes
1answer
237 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. ...
0
votes
1answer
605 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 ...
1
vote
0answers
6k 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 ...
0
votes
1answer
745 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 ...
-1
votes
1answer
7k 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 ...
0
votes
1answer
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 ...
1
vote
1answer
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 ...
2
votes
1answer
783 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 ...
0
votes
1answer
307 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 ...
0
votes
1answer
466 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 ...
2
votes
2answers
6k 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 ...
0
votes
1answer
920 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 ...
5
votes
1answer
1k 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 ...
0
votes
0answers
51 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 ...
0
votes
1answer
1k views

apache2 reverse proxy broken after modsecurity is installed ubuntu on 12.04.1

this is the first time I have run into issue like this one. I have a java application setting behind a apache2 using mod_ajp on 8009. I have noticed that I could not get the client's IP so I have ...
1
vote
1answer
625 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 ...