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

Query about Apache (httpd) dumpio log entry for the Request body which is coming NULL on Tomcat side

I am working on a hosted application running on Apache Tomcat 6.0.18 and it is hidden behind Apache (httpd). They are connected through mod_jk. We have take VPS and therefore Apache has been hosted as VirtualHost. The OS is CentOS 32 bit. The…
jatanp
  • 3,982
  • 4
  • 40
  • 46
0
votes
1 answer

httpd memory release is slow

I am using httpd with mod jk 1.2.28 on RHEL5. Behind httpd, I do have tomcat running. Connection from httpd to tomcat is made via ajp connector using modjk. I am just load testing the httpd - Using JMeter, when I create 2000 users in 120 seconds…
user1180463
  • 247
  • 11
  • 21
0
votes
1 answer

Jboss session replication : Failed to setup clustering, clustering disabled

I am trying to add clustering to my application which uses Jboss server. For replication session, I have added tag in web.xml. But, I get following warning and session replication seems to be not working. Please suggest the best way…
deadMan
  • 35
  • 1
  • 7
0
votes
0 answers

mod_jk notify all tomcat instances

Possible Duplicate: apache mod_jk send request to all cluster nodes I have an apache server that mod_jk installed on and multiple tomcat instances running. When a request comes from a special url, I want to send this request to all tomcat…
user1665039
  • 17
  • 1
  • 7
0
votes
1 answer

Redirect subdomain on tomcat through apache server with mod_jk

I have a Tomcat (6.0.20) and Apache Server setup (2.2) and am trying to redirect all subdomains to a specific context, on my domain. e.g., s.example.com redirect to www.example.com Apache is fowarding requests via mod_jk (I tried mod_proxy, but the…
RaelG
  • 173
  • 1
  • 4
  • 13
0
votes
2 answers

Apache .htaccess whitelist doesn't block Tomcat with Mod_jk

My problem is, that I recently set up a Tomcat7 application container with Apache2.2 Frontend. As the project is still under development I am controlling access by an IP whitelist set up in .htaccess for the domain. I set up mod_jk via AJP13 to…
gergiusz
  • 11
  • 1
  • 7
0
votes
1 answer

Serving tomcat6 app in document root using apache2

I have a server running apache2 that is currently serving several apps on a tomcat6 instance. Those are already configured and working and there is a rewrite rule, like this: RewriteCond %{REQUEST_URI} ^/app1 [NC,OR] RewriteCond %{REQUEST_URI}…
alejo
  • 317
  • 3
  • 10
0
votes
1 answer

mod_jk balancer trees

Is it possible to build balancer trees with several levels in mod_jk configuration? for example there is following configuration worker.list=b, b1,…
michael nesterenko
  • 14,222
  • 25
  • 114
  • 182
0
votes
2 answers

spring mvc - Separating static content from jBoss (Apache httpd upfront)

Im quite new to spring mvc. What I'm trying to achive is separating static content of my webapp (js, img, css), from jboss app server. I've managed to sucessfully connect apache httpd with jboss with mod_jk. My mod_jk mount params looks like…
kamil
  • 3,482
  • 1
  • 40
  • 64
0
votes
3 answers

Proxy Apache to Tomcat via a subdomain, using mod_jk, hiding the path in the url

I have an Apache and a Tomcat running on my Debian server, Apache using mod_jk for proxying requests to Tomcat and back. I installed Jenkins inside the Tomcat. Setup worked fine, proxying is working, too. Now i simply have a problem with my rewrite…
bully
  • 5,525
  • 3
  • 22
  • 26
0
votes
1 answer

Same Host/server name for different virtual host

I have deployed 3 applications in 3 Tomcat Instances http://host:8080/app0 http://host:8081/app1 http://host:8082/app2 and I have the workers.properties as worker.list= worker1,worker2,worker3 # Set properties for worker 'example'…
user1430511
  • 61
  • 1
  • 5
0
votes
1 answer

Glassfish 3.1.2 - after creating cluster & deploying app j_security_check loop

I've finally got my app deployed to a 2 instance single node test cluster fronted by apache/mod_jk load balancing. In a non-clustered environment I've been using container security with JDBCRealm for ages and it works reliably. In the cluster…
Oversteer
  • 1,778
  • 1
  • 22
  • 38
-1
votes
1 answer

Regex for JkUnMount in Apache configuration file

For example I have REST Api base path: /rest-api/api/ There are many APIs under it (e.g. /rest-api/api/groups, /rest-api/api/groups/users, /rest-api/api/teams, /rest-api/api/games, etc.) Now I want to unmount all the paths except ones starting with…
-1
votes
1 answer

Cannot load mod_jk.so into server

when I use ajp connector with apache server and tomcat. I did follow link: https://www.ntu.edu.sg/home/ehchua/programming/howto/ApachePlusTomcat_HowTo.html But there is an error: httpd: Syntax error on line 424 of…
Harry
  • 1
  • 1
  • 2
-1
votes
1 answer

Does Apache httpd & Tomcat share same thread pool?

I wanted to understand how do httpd and Tomcat use threads. If I connect Apache httpd and Tomcat with a AJP connector (mod_jk) then will they both share same thread pool and use individual threads OR httpd will first acquire a thread and invoke the…
Rahul
  • 824
  • 1
  • 12
  • 27
1 2 3
28
29