Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mod-jk]

The tag has no usage guidance.

0
votes
1answer
6 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
24 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
8 views

Is it possible to have two worker load balancers in same config file in mod_jk pointing to two seperate domains

Sorry if this has been posted before but couldn't find exactly what I am looking for. I have been tasked to migrate off old servers and consolidate new servers to cut down on costs etc. The powers ...
0
votes
0answers
258 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
42 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
0answers
34 views

404 error when accessing servlets in tomcat via apache2

I have my virtual host set up like this: <VirtualHost *:80> DocumentRoot /var/www/example <Directory /var/www/example> DirectoryIndex index.html ...
0
votes
1answer
65 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
80 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
195 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
736 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
3k 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 ...
1
vote
0answers
228 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
394 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
426 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 ...
6
votes
3answers
31k 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
775 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
710 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
875 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
202 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
957 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
24 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
2k 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
956 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
783 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
210 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
513 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
5k 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
581 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 ...
0
votes
1answer
6k 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
693 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
302 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
398 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 ...
1
vote
2answers
5k views

Apache httpd mod_rewrite with Tomcat resulting in lost JSESSIONID

So 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
862 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
50 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
509 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 ...
4
votes
2answers
5k views

mod_jk status page not working

I am doing clustering in Tomcat 7 with Apache server. It is working fine too. However I have the following issues: 1) I am trying to monitor the mod_jk status page; but it is giving 404 error. 2) in ...
0
votes
2answers
578 views

Apache not routing to tomcat on correct Virtual host

We are looking at moving from Websphere to Tomcat. I'm trying to send traffic to tomcat from apache web server based on the virtual host directives in apache web server. After some playing around I ...
4
votes
1answer
2k views

Varnish + Tomcat vs Apache + mod_jk + Tomcat

Does anyone have some performance metrics for Varnish in front of 1) Tomcat or 2) Apache with mod_jk (connected to Tomcat). I know that the AJP connector is supposedly faster than HTTP, but I was ...
1
vote
1answer
1k views

Passing Headers Through to mod_jk

Apache 2.2.24 mod_jk 1.2.37 I'm trying to pass the siteminder username through to Tomcat which is configured with mod_jk. The siteminder username is available a request header named "SM_USER". ...
0
votes
1answer
903 views

Apache with mod_jk with glassfish instances, large number of established connections for low number of users [duplicate]

I making a tuning for our production servers for a portal, we have 4 servers, 2 for web and 2 for app, and there is a firewall before and after web servers (so yes there is a firewall between app and ...
2
votes
1answer
344 views

Why does mod_rewrite not reprocess rewritten paths?

I'm doing a path rewrite to set and environment variable that will cause mod_jk to use a specific JBoss server. Works perfectly with any of the application paths. When I try our monitoring servelet (...
0
votes
1answer
371 views

Add a new tomcat(worker) to a existing cluster made using Apache server and mod_jk without having to restart Apache

I have set up cluster for loading balancing for the two different tomcat that are running on different machines using Apache Server and mod_jk. I have configured workers.properties and everything ...
4
votes
4answers
10k views

mod_jk produces Error smh errno=13

I am trying to use mod_jk for load balancing. Loadbalancer: 172.17.8.189 (HTTPD+mod_jk) Node1: 172.17.8.193 (apache tomcat instance 1) Node2: 172.17.8.196 (apache tomcat instance 2) I checked my ...
0
votes
1answer
136 views

Apache url canonicalization with mod_jk

I have the domain domain.gr. I have setup an Apache server with mod_rewrite and mod_jk. <VirtualHost *:80> ServerName domain.gr ServerAlias www.domain.gr ServerAdmin "info@domain....
0
votes
1answer
2k views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...