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

Apache + Tomcat with mod_jk - Web site hangs

I have a website with apache 1.3(SSL enabled) + mod_jk + tomcat 5.5 on Linux redhad setup. Just recently i started having a downtime problem with my web site. Once a day, i get my web site hang on port 80. But if i access directly through 8080…
taras
  • 2,223
  • 5
  • 36
  • 43
4
votes
0 answers

no progress bar when download a file through apache 2.2

I am using apache 2.2 and JBOSS. My domain is at 80 port and apache server is running on 80 port. My war file is running on jboss port 8080. I use mod_jk(connector between apache 2.2 to jboss) to call my application from domain. For static file I…
4
votes
1 answer

How to remove session cookie's secure flag using mod_header?

My Apache Tomcat is running behind an Apache httpd web server connected via mod_jk. When a browser requests https page (rather than http) as its first session request, Tomcat sends a session cookie with secure flag which makes user's logged in…
hotohoto
  • 490
  • 8
  • 20
4
votes
1 answer

"Not Modified" header followed by unexpected content body with sitemesh3 and mod-jk

In my Java / Struts2 / Tomcat application, when requesting some resources that generate a "304 Not Modified" response, the file is still being sent in the response. This is a response example captured with Fiddler: HTTP/1.1 304 Not Modified Date:…
xtian
  • 2,908
  • 2
  • 30
  • 43
4
votes
1 answer

Map requests from apache to tomcat using mod_jk

So, I'm aware that this might have been asked a lot already, but I really tried what I could and I couldn't fix this. I've been trying this for over two weeks and followed every single tutorial on the Apache Tomcat website, to no avail. So, what do…
testuser
  • 952
  • 4
  • 17
  • 34
4
votes
1 answer

Multiple Subdomains in Apache / Tomcat with mod_jk

I am currently trying to setup two subdomains for two separate applications running from one Tomcat server and I am having a hard time getting it going. Without the subdomains I am able to configure one VirtualHost with two mount points and able to…
wojtek_z
  • 297
  • 2
  • 5
  • 13
4
votes
1 answer

What does the error message "all endpoints are disconnected" mean from mod_jk

Does anyone know the meaning of the info message "all endpoints are disconnected, detected by connect check (1), cping (0), send (0)" This occurs with some regularity in my mod_jk log, but I can't find information about whether this is a problem,…
Amot
  • 323
  • 1
  • 2
  • 7
4
votes
1 answer

mod_jk vs mod_cluster

Can someone please tell me the pro's and con's of mod_jk vs mod_cluster. We are looking to do very simple load balancing.. We are going to be using sticky sessions and just need something to route new requests to a new server if one server goes…
techsjs2012
  • 1,737
  • 5
  • 25
  • 57
4
votes
1 answer

Apache & JBoss use port 80 at the same time

I have both Apache 2 and JBoss 4.2.3 on the same machine and would like both of them to use port 80. There are several ways I see people doing this mod_jk, mod_proxy, but I'm not sure which one is the best. I don't need any load balancing, but I do…
Stella Peristeraki
  • 289
  • 1
  • 9
  • 16
4
votes
4 answers

502 Bad Gateway... invalid response from upstream server (apache and jboss)

I'm using apache on one machine to serve requests to jboss on another machine. Everything works fine when I startup jboss and I'm able to access the web app, but after a few hours I eventually start getting "The proxy server received an invalid…
ravun
  • 1,523
  • 9
  • 27
  • 45
3
votes
1 answer

Error "No suitable driver" with jdbc, tomcat, apache and mod-jk

I'm installing a webapp in amazon EC2 created by a software provider. Enviroment details: Operative System: ubuntu oneiric java: oracle-java7-jre (taken from Eugenesan's PPA) tomcat: repository tomcat7 apache: repository apache2 mod-jd: repository…
diegueus9
  • 29,351
  • 16
  • 62
  • 74
3
votes
3 answers

How to programmatically adjust the disable directive in the mod_jk load balancer configuration?

We have a setup where we have one httpd (apache) with mod_jk talking in a load balance setup to three tomcat servers. We have to recycle each tomcat instance envery three hours. So tomcat1 will restart at 1, and tomcat2 at 2 and ... until tomcat1…
Geo
  • 8,663
  • 13
  • 63
  • 93
3
votes
1 answer

Pass username and client certificate from apache to tomcat using mod_jk

I want to authenticate web services either by ssl certificate (aimed at automatisms) or openid (aimed at people, I am using auth0 as a provider). The web services run in a tomcat container, which is behind an apache web server, using jk. The web…
Árpád Magosányi
  • 1,394
  • 2
  • 19
  • 35
3
votes
4 answers

Using ProxyPass for pages but not images

As a result of horrible, horrible errors, we've changed how we connect Apache to Tomcat. We were using mod_jk: JkMount /path ajp13 Now we're using mod_proxy_ajp: ProxyPass /path ajp://localhost:8009/path ProxyPassReverse /path…
Marcus Downing
  • 10,054
  • 10
  • 63
  • 85
3
votes
1 answer

enabling SSL when Tomcat is interfaced by Apache web server using mod_jk

I have /usr/local/tomcat/webapps/cas, where my java app is running. after interfacing Tomcat and Apache web server(httpd) when I try http://192.168.0.117/cas I can see Login page, but when I try https://192.168.0.117/cas I got 404 not found from…
Mohammad Ali Akbari
  • 10,345
  • 11
  • 44
  • 62
1 2
3
28 29