Questions tagged [mod-jk]

174 questions
0
votes
1 answer

Can I compile Passenger (mod_rails/mod_rack) to make a statically linked Apache httpd?

I prefer to disable httpd dynamic module loading on my production server. I've been using mod_jk linked statically into httpd for quite a long time and it proved to be stable. Now I would like to add Ruby Passenger (mod_rails/mod_rack) to my…
Oleg Mikheev
  • 153
  • 1
  • 1
  • 7
0
votes
1 answer

apache custom-log format with regex expression

We have apache webserver as "entry" for incoming traffic it then delegates to tomcats with mod_jk. We want to log the HTTP digest username, sample header: Authorization: Digest username="Mufasa", realm="testrealm@host.com", …
0
votes
1 answer

mod_jk between apache and tomcat: making sure 8080 requests still go to tomcat

This question follows a mod_jk configuration question asked earlier. I have managed to to have http://mywebsite.com/MyTomcatApp/ go to Tomcat while having http://mywebsite.com/ go to Apache. However, my requests to http://mywebsite.com:8080/ (to…
Jérôme Verstrynge
  • 4,787
  • 7
  • 24
  • 35
0
votes
3 answers

Mapping mod_jk to application with different name from alias

We have an internet app called X which is being replaced by a new app called Y. We use Tomcat instances fronted by Apache to serve X and Y, with communications through mod_jk. There is one Tomcat hosting X and another hosting Y. X and Y have been…
Rich
  • 1,343
  • 7
  • 28
  • 39
0
votes
1 answer

Deploying war with custom context in Tomcat

I have a Tomcat server fronted by Apache with comms using AJP. The configuration uses JkMount for mapping URLs on Apache to the Tomcat node. I am helping in the deployment of an application which is built using Maven and therefore is delivered in…
Rich
  • 1,343
  • 7
  • 28
  • 39
0
votes
1 answer

Virtual Hosts with Tomcat + Mod JK

I have set up Apache and Tomcat on my system and I want to combine both using Mod_JK. I have created a mod_jk worker (ajp13_worker) and added a virtual host to my Apache config: ServerName tomcat.mydomain.com …
Claude
  • 66
  • 4
0
votes
2 answers

Is this weird Apache access log a security risk?

Below is a copy of a weird access log I found in my Apache logs folder: 127.0.0.1 - - [24/Oct/2010:13:49:45 +0200] "GET /x64 HTTP/1.1" 301 229 127.0.0.1 - - [24/Oct/2010:13:49:48 +0200] "GET /x64/ HTTP/1.1" 200 268 127.0.0.1 - -…
Chris
  • 135
  • 1
  • 8
0
votes
2 answers

partial shutdown of loadbalanced app

I have a pair of tomcat servers sitting behind an apache server running modjk2. the apache server load balances sessions to the tomcat servers (using x.sticky_session=True). This all works fine, however we would like to be able to install new code…
pstanton
  • 623
  • 3
  • 11
  • 23
0
votes
1 answer

mod_jk to forward to tomcat installed on other server?

Is it possible to forward the request from IBM HTTP server installed on solaris machine to Tomcat installed on windows machine using mod_jk? IHS is installed on solaris and I have attached mod_jk connector in it. tomcat is installed on windows…
swd
  • 173
  • 8
0
votes
1 answer

apache mod_jk loadbalancing issue for glassfish cluster instances

I have a JEE ear application deployed on 2 clusters with 2 instances each on Glassfish v3.1. These are load balanced by an Apache server running on the same machine. My problem is that I am frequently seeing the following error messages frequently…
SibzTer
  • 113
  • 2
  • 5
0
votes
1 answer

Spring Security, Apache 2 fronting Tomcat6. Can't login / immediatly logs out

I deployed my GWT app, that uses SpringSecurity, and have a problem. After feeding the credentials it logs out immediately. If I put in the wrong credentials, it says 'wrong credentials', but when I give correct ones it just goes back to the login…
Marten Sytema
  • 173
  • 1
  • 7
0
votes
1 answer

Ubuntu apache-tomcat webserver clustering/load balancing

I have a Ubuntu production server running apache2 and tomcat6 both on port 80 with mod_jk setup hosting some jsp pages. And also, all the client's informations are stored in the mysql databases on the same server. And CDN is used for static…
user53864
  • 1,723
  • 11
  • 37
  • 66
0
votes
1 answer

How to make mod_jk authenticate SSL connections

I have a 3 Tomcat application servers with 3 Apache servers in front. Communication between Apache and Tomcats is done via mod_jk. I need to have secure connections between the Tomcat and Apache servers. To make this connection secured, it has to be…
Guillaume
  • 1,063
  • 5
  • 12
  • 24
0
votes
1 answer

Divide webapps between tomcat instances

I have 300 webapps in a single Tomcat. It takes a while to restart Tomcat plus a few other limitations. I have Two web servers load balanced in current Apache + Mod_JK + Tomcat setup. These servers has enough memory/ ready to add extra memory to…
user37143
  • 171
  • 1
  • 4
  • 14
0
votes
1 answer

Confusion in installing mod_jk on Ubuntu

I am working from this document in trying to install mod_jk http://www.howtoforge.com/apache2_tomcat5_mod_jk_p2 I am at the step towards the bottom where they suggest to use the make command. I was trying to use make like this and got an…
Genadinik
  • 1,103
  • 4
  • 19
  • 39