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

Spring and mod_jk jsp source in the response

I have spring contoller, also apache + mod_jk + tomcat. So after making an requesto to my controller in the response I am getting jsp source code mod_jk config: :8000> ServerName ServerAlias
Sergey
  • 933
  • 2
  • 19
  • 48
0
votes
1 answer

Is it possible to forward https requests to another server from an Apache webserver configred for http only using mod_jk

I have a front end Apache we server which only answers http requests. It acts as front end load balancers for many web application servers. Now I have a new webapplication which i want to host on https only. My Question is how do i redirect all…
Amit P
  • 467
  • 6
  • 20
0
votes
1 answer

performance issue in tomcat

I have a load balancer, under load balancer I have to apache webservers with Mod_jk. Sticky session enabled in both load balancer and webservers. I have two tomcat servers(both are clustered/session replication is enabled) Sometimes we are seeing…
sree
  • 868
  • 2
  • 12
  • 35
0
votes
1 answer

mod_jk and load balancing '.method'

Apache 2.2.3, mod_jk 1.2.37 in front of jboss eap 6. In my JKWorkersFile I specify 'worker.list=' with all my loadbalancers. Everything seems to work - I can change '.host=' or '.port=' setting for a node, or change a loadbalancers…
tschodt
  • 164
  • 1
  • 5
0
votes
0 answers

Load Balancing Tomcat Servers while keeping a single Session ID

I want to be able to Load Balance two Tomcat servers, that are broadcasting Session Data to one another, using Apache and mod_jk. I've set up the Load Balancer and that works perfectly, however, I'm currently having to use sticky_sessions to make…
Andrew Burns
  • 63
  • 1
  • 8
0
votes
1 answer

How to serve static files using apache?

I have configured apache 2.2 webserver with tomcat. I want static files of my web application to be served using apache. I made a virtual host entry in httpd.conf Alias webcommon_alias C:/webcommon_bk JkMountFile…
Parminder Singh
  • 313
  • 1
  • 6
  • 12
0
votes
1 answer

Reduce Time for Tomcat Load Balancer Failover

I am new to modjk. I am trying trying to reduce the time needed for load balancing failover. Load balancer works in a round robin fashion. Currently, it takes about 30s to 40s for the load balancer to send request to another connection when one…
lwm
  • 3
  • 1
  • 2
0
votes
1 answer

Tomcat7 / Apache2 URL Wildcard Mapping

I have a Java Servlet that takes the path of a provided URL request and retrieves database resources from it. For example: www.mydomain.com/gateway/databasename/tablename Would retrieve information from the specified table, all nice and REST like.…
hotforfeature
  • 2,558
  • 1
  • 16
  • 24
0
votes
1 answer

Glassfish 4.0 cluster + mod_jk. Servlet streaming content issue

I'm trying to set up a glassfish 4.0 cluster with 2 instances using Apache 2.2 with mod_jk for load balancing. Everything is working as expected, except for a servlet used to serve images. When I access this servlet on an instance I get the image…
0
votes
1 answer

tomcat-apache-mod_jk fine tune apache server timeouts to allow restart tomcat

I have apache http server in front of tomcat 7.0. I use mod_jk apache module to send an incoming http request to the servlet container. I would like to setup the apache server such that if I restart the tomcat server and it comes back within X…
Shamik
  • 6,938
  • 11
  • 55
  • 72
0
votes
2 answers

JSP deploy problem in jboss

I have Jboss 4.0.4GA setup in Linux. after I start my jboss without problem, I tried to access JSP page in browser, got error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click…
mengmenger
  • 59
  • 1
  • 9
0
votes
1 answer

how to configure struts2 with tomcat and apache with mod_jk?

I have been able to use Apache web server to accept jsp petitions using the mod_jk connector, but... Is it possible in this situation configure an Struts2 aplication ? How I should configured ?
0
votes
1 answer

Apache Tomcat and Mod_jk

We have been running Apache with Tomcat using mod_jk for about a month now with out issues. This morning I have started seeing the error below in the mod_jk log files. I am fairly new to using mod_jk and am not sure how to increase the number of…
kilmore
  • 13
  • 1
  • 6
0
votes
2 answers

mod_jk problems with connecting apache2 and tomcat6

I am trying to configure mod_jk to forward requests to my webapp running in tomcat. ( I read else where that mod_proxy_ajp is the way to go but want to get this figured out first). I am new to tomcat and mod_jk. I try to access --…
user220201
  • 4,514
  • 6
  • 49
  • 69
0
votes
1 answer

Tomcat load-balancing with mod_jk

Newbie to this technology hence pls be gentle. Aim is to setup Tomcat load-balancing with mod_jk. My setup is below (all on one machine): Win7 x64 Apache Httpd 2.2 Tomcat 6 mod_jk 1.2.37 (for httpd2.2.x) 2 Tomcat instances (same machine) I've setup…