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
2
votes
1 answer

mod_jk "404 Page Not Found" error when accessing root URL, Inner pages are working fine

I am using Apache2.4 as a front server and Tomcat8 for my webapps with Mod_JK for load balancing and forwarding all request from Apache to Tomcat8 instance. When accessing www.domain1.com "404 Page Not found" error is shown. Other page works…
Ashutosh
  • 21
  • 4
2
votes
0 answers

Apache error "Parent: child process exited with status 3221225477 -- Restarting." No PHP or MySQL

I'm running Apache 2.2.14 on Windows Server 2003, without PHP or MySQL, basically to proxy as a web server for a Java web app. Every few hours or so Apache restarts with a message [notice] Parent: child process exited with status 3221225477 --…
anikitin
  • 163
  • 1
  • 8
2
votes
3 answers

mod_jk version not available for Apache 2.4 in RHEL7

Recently was trying to setup load balancing using mod_jk in apache 2.4 in RHEL 7. The web server and application are hosted in Amazon Cloud Service.The problem i am facing is with versions of mod_jk. Apparently lot of searching i got to know that…
vikrant
  • 399
  • 3
  • 12
2
votes
2 answers

Problem getting apache to default to a particular JKMount using mod_jk

I have an apache instance fronting 4 tomcat webapps, lets call them app1, app2, app3, app4. I'm using mod_jk to act as the connector and I've set up apache with JKMount entries for each and I can happily…
Gordon
  • 21
  • 1
2
votes
2 answers

Aliasing a URL in Apache2 with mod_jk

I'm using Apache 2.4 with mod_jk and Tomcat running a Java servlet. The application I'm serving has an ugly index URL: accessing www.mydomain.com/ takes the user to www.mydomain.com/view/user/www/. I would like to alias this so that users see…
PoolOfPeas
  • 383
  • 2
  • 11
2
votes
3 answers

How to disable compression in Apache on some response header from mod_jk proxied application server

I have a tomcat server configured (by mod_jk) to work through Apache Httpd server. Apache Httpd server compresses (by mod_deflate) all text/html sent to browser. Some jsp pages are interactive and long running, i.e. display progress or log during…
huksley
  • 127
  • 1
  • 7
2
votes
1 answer

JBoss 7 Load Balancer session replication

I have 3 servers: 2 Jboss 7.1.1 Server 1 Apache server I am using mod_jk And my configuration follow below structure: In my web application, I have a session counter. Client 1 request to Web Server (I mean Load Balancer Server), Web Server…
Luc
  • 2,800
  • 2
  • 25
  • 46
2
votes
1 answer

Multiple web applications with Apache 2.4

I want to have two webapps (webapp1 and webapp2 resident under /var/www/html/webapps/), both using PHP and JSP, running on the same machine: Apache 2.4 Tomcat 7.0.50 (+APJ connector) and want to make them accessible through the following URLs…
2
votes
1 answer

Faking/setting the Tomcat context path

We run about 30 webapps on various Tomcat instances behind load balancers and Apache reverse proxies using mod_jk. The public URL of each application is configured into the Apache mod_jk config which proxies to the backend Tomcats. The backend…
Mark
  • 1,754
  • 3
  • 26
  • 43
2
votes
2 answers

Configuring mod_rewrite and mod_jk for Apache 2.2 and JBoss 4.2.3

My problem is as follows: I have JBoss 4.2.3 application server with AJP 1.3 connector running on one host under Windows (192.168.1.2 for my test environment) and Apache 2.2.14 running on another FreeBSD box (192.168.1.10). Apache acts as a "front…
The Pretender
  • 21
  • 1
  • 3
2
votes
1 answer

tomcat get finest log level for socket creation of ajp connector

we have a pretty default apache2(2.2) with mod_jk(1.2.30) connected to a tomcat(6) all on the same host, no Loadbalancer and only 1 worker configured. for debugging a specific issue i tried to increase the tomcat loglevel for the ajp connection. i'm…
Dennis Nolte
  • 160
  • 4
  • 12
2
votes
4 answers

How do I get tomcat 5.5 to run behind apache 2 with mod_rewrite passing through requests to mod_jk and stripping app context?

Ok, so I want to get a webapp running in tomcat (5.5) to run behind apache 2 (2.2.3 to be precise) serving from the root of the site (i.e. without the context), with static content being served via apache. So if the app is running under "/myapp" on…
John Montgomery
  • 8,868
  • 4
  • 33
  • 43
2
votes
2 answers

mod_jk on windows 64 bit

Anyone know where to get a windows 64 bit shared object for mod_jk. I've just moved to 64 bit machine. It's not where I would expect to find it: http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.28/ia64/
Evan
  • 41
  • 1
  • 3
2
votes
0 answers

Tomcat clustering and Session replication

I successfully configured my Apache Httpd Server (Apache 2) and Tomcat (Tomcat 7) for clustering and session replication. I checked this by following 2 scenarios. 1. All tomcat instances are on the same machine 2. Tomcat instances are distributed…
Pankaj Shinde
  • 3,361
  • 2
  • 35
  • 44
2
votes
0 answers

JkMount different URIs to same application name

On two servers(serverA, serverB) I have Glassfish with application A. In front of them is Apache using mod_jk. Apache responds to domain www.myDomain.com. How do I do this type of redirect: www.mydomain.com/A goes to serverA/A www.mydomain.com/B…
kovica
  • 2,443
  • 3
  • 21
  • 25