Questions tagged [mod-jk]
173 questions
10
votes
3 answers
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 to inspect to find it out, thanks to Google Chrome:…
Mohamed Ennahdi El Idrissi
- 183
- 1
- 1
- 12
6
votes
4 answers
mod_jk or mod_proxy
I tried googling and the only articles I found comparing these two were from 2005 down to 2002. I just set up my first Tomcat instance to run Jira for a project I'm doing. I want to proxy this through port 80 and apache. From what I can tell, I…
brad
- 492
- 1
- 10
- 22
6
votes
4 answers
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 tomcat instances and both of them are listening at…
nth
- 89
- 2
- 3
- 9
6
votes
2 answers
Header set Access-Control-Allow-Origin not working with mod_rewrite + mod_jk
My first question on here on SF so please forgive me if I manage to bork the post. :)
Anyways, I'm using mod_rewrite on one of my machines with a simple rule that redirects to a webapp on another machine. I'm also setting the header…
tharant
- 61
- 1
- 1
- 4
5
votes
1 answer
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 managed to configure caching as needed.
Now I want to…
Blama
- 173
- 1
- 6
5
votes
3 answers
Connecting tomcat6 to apache2
Disclaimier: Not a server admin
I've been scratching my head over this for weeks now (not consistently mind you, as that would be maddening). I've been trying to connect my apache2 server to my tomcat server to the point where if someone encounters…
StudentKen
- 207
- 1
- 3
- 10
5
votes
2 answers
Apache load balancing when the session id is in url
I really have no idea...
I have a java web application which stores the session id in URL rather than using cookies. I want to run the application on 2 tomcat servers and fronting them with an Apache server for load balancing.
__…
KK Lo
- 51
- 1
- 3
4
votes
2 answers
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 Log following error is shown -
[Tue Dec 17…
Kumar
- 201
- 3
- 7
4
votes
1 answer
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 thinking that Varnish which is lighter and highly…
Adrian Ber
- 305
- 2
- 5
- 16
4
votes
2 answers
Why - Could not find worker with name 'jk-manager' in uri map post processing?
I am using apache2 + mod_jk(ajp protocol) + tomcat7.
but I always get the error below:
[Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized
[Sat Mar 30 17:30:54.691 2013] [25238:3074365824]…
Hardbone
- 41
- 1
- 1
- 3
4
votes
2 answers
IOException: Socket read failed using Apache 2, mod_jk and Tomcat over AJP
I am getting the following Exception from time to time when my users are connecting with their Android devices to out JSON Rest Service:
java.io.IOException: Socket read failed
at…
Thomas Einwaller
- 288
- 1
- 3
- 12
4
votes
1 answer
Tomcat mod_jk cluster skip 404 http status
I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but most of the time the WAR is not deployed properly…
user53864
- 1,653
- 8
- 36
- 66
4
votes
2 answers
Apache Mod_rewrite rule working on one server, but not another
I am using mod_jk and mod_rewrite on httpd 2.2.15. I have a rule....
RewriteCond %{REQUEST_URI} !^/video/play\.xhtml.*
RewriteRule ^/video/(.*) /video/play.xhtml?vid=$1 [PT]
I just want to rewrite something like /video/videoidhere to…
Mason
- 41
- 1
- 4
3
votes
3 answers
Jboss + mod_rewrite =?
I have 2 servers, Apache and Jboss. Using JKmount .war files are mounted and present a complex site.
eg:
JkMount /directory/* ajp13
Alias /directory /jboss/server/default/deploy/directory.war
…
Antitribu
- 1,709
- 3
- 23
- 37
3
votes
2 answers
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 and everything worked fine... Until I deployed the…
sldk
- 151
- 1
- 5