Questions tagged [mod-jk]
174 questions
3
votes
2 answers
Tomcat 7 with mod_jk
I am at cross roads in deciding whether to use mod_jk or mod_proxy for setting up a load balancing system with Apache 2 and Tomcat 7. I read the usual comparison that mod_jk is more powerful but harder to configure, etc. but all that I read is a bit…

Santosh
- 133
- 1
- 4
3
votes
1 answer
how to disable mod_jk log completely?
My mod_jk.log gets 2MB bigger in an hour and all it has entries like :
[Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.690152
[Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.002675
[Mon Aug 13 10:51:29 2012] ajp13 www.my_site.com 0.000794
[Mon…

Shatiz
- 135
- 1
- 4
3
votes
1 answer
Apache in front of Glassfish: mod_jk on https(443)
After the recommendation of using Apache http server in front of glassfish ( check question ), i used the following tutorial and made it work but only on port 80.
What i mean is now i can type:
www.mydomain.com
and it runs. However if i run an…

ccot
- 181
- 2
- 11
3
votes
1 answer
Obscuring tomcat context path in URL
I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in their browser. Here's my code -
LoadModule …

Matthew Schmitt
- 51
- 1
- 5
3
votes
1 answer
mod_jk logs errors but users report none
We have an apache server load balancing requests for downloads to two different servers. The mod_jk error log is filled with the following kind of errors
[Mon Feb 13 16:59:02.948 2012] [19453:139726932305664] [error]…

Jasper Floor
- 131
- 1
- 2
3
votes
2 answers
Farm Deployer not working in Tomcat Cluster
I have setup apache-tomcat clustering(Ubuntu Server) and I used tomcat supported clustering technique with mod_jk following the link. I've setup with One Load Balancer and Two web servers.
The major problem is deploying the WAR file and to which web…

user53864
- 1,723
- 11
- 37
- 66
3
votes
1 answer
PHP and JSP running on same machine.. Tomcat on Apache
Sorry if this has been posted/answered already, but I cannot find the simple answer.
I have two applications one JSP and one PHP both hosted on same machine running apache and tomcat. Apache is listening on 80 and tomcat on 8080.
Where can I get a…
Mehmood
3
votes
1 answer
How can I diagnose a "502 Bad Gateway" response from an Apache/Tomcat configuration?
I just finished up configuring a fairly default configuration of Tomcat. My Apache configuration was pre-existing and post-tomcat it still has no issues. I am using mod_jk to (if I am saying this correctly) interface between Apache and Tomcat and…

Structure
- 185
- 1
- 4
- 9
3
votes
3 answers
mod_jk unable to connect with tomcat9
After unzip the tomcat9 package available on tomcat.apache.org, and have the mod_jk configured to…

Kleber Mota
- 93
- 1
- 7
2
votes
0 answers
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 request via AJP to Tomcat server according to…

Lightworker
- 173
- 1
- 1
- 8
2
votes
0 answers
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 pooling (with DisableReuse) and the issue…

Dmitrii Stebliuk
- 21
- 1
2
votes
1 answer
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 Apache, but instead from JBoss, which it shouldn't…

Daniel
- 131
- 2
2
votes
1 answer
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 (does a simple db get to prove the stack is…

8None1
- 255
- 3
- 9
2
votes
1 answer
How to turn on mod_cache with mod_proxy or mod_jk
I'm trying to setup apache+mod_jk/mod_proxy with mod_cache.
But it looks like all proxied requests are ignored by mod_cache.
May be it is related to module handling order or something else?
Apache 2.2.22
I've tried use both mod_jk and mod_proxy -…

Sirex
- 31
- 3
2
votes
1 answer
Apache2 mod-jk and VirtualHosts
I have an apache2 server with few virtual host. Two of those Virtual Hosts is using modJK to handle pages generated by Glassfish.
I have global configuration for modJK and JkMount directives used only in VirtualHost sections.
Generally this…

m-szalik
- 123
- 3