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

What http status would tomcat returns during redeployment time?

I am wondering what would be returned by tomcat during redeployment, if the process takes long time. I need the http status code for apache mod_jk's fail_on_status value.
tompal18
  • 1,164
  • 2
  • 21
  • 39
0
votes
1 answer

Is it a good practice to place all static files out of a WAR/EAR file?

For all my business applications, I place my css files, images, javascript (jquery, plugins, functions JS files, etc.) within my project. I am using jBoss as my application server, fronted by an Apache server and mod_jk (using the AJP protocol). By…
Charles Morin
  • 1,449
  • 4
  • 32
  • 50
0
votes
1 answer

How configure Apache HTTP so URL will work without context for three Tomcat 7 Java apps

I have a Windows environment running a Java app on three different Tomcat 7.0.39 application servers, each with a context root of a different name, behind a single Apache HTTP 2.2.22 using mod_jk. There are three sites with distinct domain names…
0
votes
1 answer

Help using mod_jk to forward to backend app server

I had mod-jk working a while ago but after switching servers and modifying some files, it no longer works. I am using mod_jk-1.2.28 with JBoss 4.2.3 as the backend. In the JBoss server.xml file I have the AJP 1.3 connector defined on port 8009 and…
ravun
  • 1,523
  • 9
  • 27
  • 45
0
votes
1 answer

Apache with mod_jk Tomcat change DNS Timeout (TTL)

I'm using GSLB APP for geo-distribution and load-balancing. The APP is Apache --> Tomcat througth mod_jk in workers.properties I have some like this: worker.balancing.port=8009 worker.balancing.host=tomcats8009.gslb.domain.com …
Adrian
  • 1
  • 1
0
votes
3 answers

Where put workers.properties for mod_jk.so Tomcat connector to Apache httpd (OS X)?

I'm trying to set up the Tomcat 7 connector mod_jk.so on OS X (10.8.3) so that calls to Tomcat will go through httpd from apache 2.2. The file mod_jk.so is in place. But where does workers.properties go? The instructions at…
murray
  • 737
  • 2
  • 10
  • 28
0
votes
1 answer

Improving a Web App's Performance

My web app, an exploded WAR, is hosted by Apache (static content) and Tomcat (dynamic content) via mod_jk. Optionally, there's an ActiveMQ component of this system, but it's currently not being used. As I understand, each HTTP request will hit…
Kevin Meredith
  • 41,036
  • 63
  • 209
  • 384
0
votes
1 answer

Mod_JK, Tomcat & Apache Httpd "File not found" when using Alias

I've been trying to find a solution to what I think should be a very common use of Alias with Tomcat & Apache Httpd but I can't find it. I have Tomcat running my application server and I want to be able to use aliases to serve dynamic content. I…
Lostlinkpr
  • 1,453
  • 2
  • 12
  • 13
0
votes
1 answer

Spring Security: redirect to a different host when HTTPS is required

I have a question about Spring Security HTTPS redirect strategy. First of all, the configuration: Spring 3 Java Web App tomcat after apache connected with jk Spring Security 3 Using a configuration where the client connects directly to tomcat…
MaVVamaldo
  • 2,505
  • 7
  • 28
  • 50
0
votes
1 answer

Problems with JBoss and ProxyPass Apache directive

My JBoss 7.1 (standalone.xml) is configured like this:
Fabio B.
  • 9,138
  • 25
  • 105
  • 177
0
votes
1 answer

mod_jk.log shows what url?

I have mod_jk connector between Apache and Tomcat (on Ubuntu) and I'm looking at the mod_jk.log. The log mainly looks like this: [Fri Jan 18 18:37:32 2013]ajp13 0.011095 But occasionally I see these entries: [Fri Jan 18…
mp31415
  • 6,531
  • 1
  • 44
  • 34
0
votes
1 answer

SSL Certifcate for Apache/Tomcat

I followed this tutorial to create a ssl certificate for a CAS server, now I decided that I need to use a vhost using the mod_jk, so the certificate need to be set in the Apache vhost config file.. The problem that my certificate is a binary file…
elacheche
  • 71
  • 2
  • 10
0
votes
1 answer

apache mod_jk configuration for ssl tomcat6

I am trying to update my webserver from mod_proxy to mod_jk. I am able to access http pages using following configurations JkMount /* loadbalancer and my workers.properties are worker.list=loadbalancer,status Define Node1 …
sree
  • 868
  • 2
  • 12
  • 35
0
votes
1 answer

jk_mod and apache rewrite

Is it possible to combine rewrite rules with jk_mod with server side forward? I have a simple configuration RewriteEngine On RewriteRule ^/$ /myapp [R] JkMount /* worker_1 This works great when using the redirect flag but fails to run without it.…
chris1069603
  • 433
  • 5
  • 15
0
votes
1 answer

How to customize worker selection process through AJP13

In apache load-balancing is there a way to selecting the worker in AJP13 according to our requirement ? That means if we say currently there are server instances (jboss or tomcat) load balanced with Apache (mod_jk) round robbing. Is there a method…
Chamith Malinda
  • 4,399
  • 5
  • 24
  • 28