Questions tagged [mod-jk]

174 questions
1
vote
2 answers

Use tomcat webapp as the root path for apache/mod-jk virtualhost

I have configured a server where lies several domains, and more than one of them have a ajp13-worker associated to it. The configuration file looks like that: ServerAdmin my@email ServerName mydomain …
Kleber Mota
  • 93
  • 1
  • 7
0
votes
1 answer

Glassfish JK SSL Listener 502 Bad Gateway

I have set up a very simple Apache + Glassfish cluster configuration. It works fine if I create and use a listener that use the default http-listener-1. However, if I switch to a secure listener which use http-listener-2 then the connection is…
Leonardo
  • 103
  • 5
0
votes
0 answers

Apache with mod_jk http to tomcat https Bad request

Dears, I have JSP application sitting on Apache tomcat. I have installed apache2.4 and enabled SSL with mod_jk and kerberos basic authentication working very well when i go to: https://mysite/App with user/password pop working fine. However I want…
SAAD3000
  • 1
  • 1
0
votes
1 answer

Sporadic mod_jk Client Errors when uploading large files

Note: There is a TL;DR at the end of this question. I have a nightly backup script that has been working reliably for 6 years, and two months ago, it began to fail to upload to my archive server (only about 1 in 4 attempts succeed). This started to…
Parker
  • 773
  • 2
  • 11
  • 27
0
votes
1 answer

errno=13. Unable to start due to shared memory failure

I have integrated httpd with tomcat by help of mod_Jk. In this case, selinux is enforcing condition. Due to enforcing enable in Selinux that's why I am unable to run the httpd in our linux server(centos 7). I am facing given issue " errno=13.…
Birendra Rawat
  • 121
  • 1
  • 3
0
votes
1 answer

How do I tell mod_jk with load balancing to stop using a specific tomcat instance?

I've got apache/tomcat8 setup with mod_jk with load balancing. Let's say I want to update one of the tomcat8 instances, maybe update tomcat itself, then how do I tell mod_jk to stop sending any new requests to that tomcat instance while at the same…
user18969
  • 113
  • 1
  • 8
0
votes
5 answers

Configuring Apache, Tomcat, mod_jk and mod_rewrite to serve up tomcat from top-level

I'm trying to set up my java app as the main component of a new site. I have some static resources I'd like served by Apache, so I setup Apache and Mod_jk, with the following rules, JkMount /java_app* ajp13 JkUnmount /*static/* ajp13 …
lucas
  • 101
  • 1
  • 5
0
votes
0 answers

java.io.UnixFileSystem.getBooleanAttributes0(Native Method)

My OS=CentOS Jdk + Tomcat 8.5 + mod_jk connector Here is error: HTTP Status 500 – Internal Server Error Type Exception Report Message Servlet execution threw an exception Description The server encountered an unexpected condition that prevented it…
Raakh
  • 23
  • 7
0
votes
1 answer

apache 2.4 tomcat 8 Permission Denied

I have an apache 2.4 on Debian Jessie and I host several sites as virtual hosts. On of these sites is running on jsp so I hav installed tomcat 8 and I use mod_jk. My virtual host configuration file for apache is:
Christoforos
  • 163
  • 8
0
votes
1 answer

Apache Load Balance wrong balancing

I have 2 backend servers on the same network and 2 Tomcats on both machines with the same application. Additionally, I have a main machine where I load my app and which choses to which worker requests should go. The problem is that the Load Balancer…
K. Martin
  • 1
  • 1
0
votes
1 answer

Load index.html by default in apache2

I have set up apache2 web server and tomcat with mod_jk module in between to delegate static content to apache2. I have created /var/www/example/index.html and want this to be loaded when entering www.example.com/ I can access…
user2908112
  • 167
  • 1
  • 13
0
votes
1 answer

Tomcat + mod_jk blocking mysql connections for other Apache 2 VirtualHost apps

I have responsibility for a legacy Tomcat webapp running as webapps/ROOT. Previously the app was running on a dedicated Linux server, but to save money I was asked to move it to a different Linux server where it shares a MySQL database with a few…
GSP
0
votes
2 answers

How to know if Apache HTTP is taking control over Apache Tomcat

I have a web application running over Tomcat flawlessly, but prior to redirections and other security improvements I have to run httpd connected to tomcat. httpd is running, but I actually don't know if it's running over Tomcat. I mean, the first…
Rajo
  • 1
0
votes
1 answer

How do I correlate the Apache mod_jk log with the Tomcat instance log for troubleshooting?

In my Apache mod_jk log I have entries in the format like: [Wed Oct 26 10:59:43 2011] [3732:2460] [error] jk_ajp_common.c (1618): (myJbossServer) Tomcat is down or network problems. Part of the response has already been sent to the client RedHat's…
johnny
  • 2,328
  • 9
  • 37
  • 57
0
votes
1 answer

I can't start Apache with module mod_jk

I have installed an Apache HTTP Server in CentOS 7. After installation it runs successfully. Then I tried to add the mod_jk module following these steps. I downloaded the Tomcat Connectors ziped sources file. I tried with v.1.2.35 (this version…
Carlos Durán
  • 11
  • 3
  • 8