Questions tagged [mod-jk]

174 questions
0
votes
1 answer

Apache2 and Tomcat7 with BASIC authentication (Ubuntu)

I recently deployed a Java webapp on a Tomcat7 fronted by an Apache2 on a Ubuntu 14.04 VPS. I am connecting the Apache2 and the Tomcat7 with mod_jk. All the static resources are server by Tomcat, but I wanted to front it with an Apache for best…
niilzon
  • 101
  • 2
0
votes
1 answer

AJP Connector not working? (404 error)

I'm trying to connect the Apache WebServer (2.4.10) to Tomcat 7, both located in two different VMs. It's my first time using those tools. From what I understood a method to check if the connection is working is to try to access to Tomcat using the…
RVKS
  • 1
  • 3
0
votes
0 answers

Apache web server response header expires

I've got an app that runs on a tomcat web server, and I use mod-jk on my apache web server side. I think I've managed to configure everything to work seamlessly, I ran into issues when I wanted to cache static assets on webserver, for some reason my…
c0mrade
  • 81
  • 1
  • 11
0
votes
0 answers

Use mod_rewrite & mod_jk to access different workers

I want to achieve the following: There is one DMZ-proxy over which we want to access multiple application-servers, represented by mod_jk workers. The web-context needs to be the same on all application servers, since they run the same application.…
Michael Niemand
  • 169
  • 3
  • 17
0
votes
1 answer

Out of 3, Only one mod_jk worker is not working

I have a server configuration with Apache http Server 2.2 with name based virtual hosts connected to separate Tomcat 7 virtual hosts using mod_jk connector. Previously 2 Apache Virtual Hosts were successfully serving the separate applications from…
0
votes
1 answer

Apache returns 503 error accesing address with mod_jk configured

I have a Tomcat server listening at 10881 AJP port. I confirmed it by netstat: tcp 0 0 0.0.0.0:10881 0.0.0.0:* LISTEN 2297/java This is the configuration of Tomcat server.xml file:
Carlos Durán
  • 11
  • 3
  • 8
0
votes
1 answer

Tomcat, Apache, MySQL tuning

I am currently using AWS infrastructure to host my mobile web application. I use Apache Web Server, mod_jk to pass on requests to Tomcat which further communicates with MySQL DB using connection pool. Of recently the server has been responding…
user23577
  • 71
  • 1
  • 1
  • 6
0
votes
1 answer

Virtual Hosts, apache, mod-jk and tomcat

I have a tomcat(running on 8080) application on my cent os server and i can access it with the url: SERVER_IP:8080/myapp and I have my admin panel on SERVER_IP:8080/myapp/admin and I have an apache server running on port 80. I have two domains :…
cuneyttyler
  • 121
  • 4
0
votes
1 answer

Log Outgoing Apache Port on AJP Connection

I have Tomcat 7 set up to work with mod_jk and AJP. I'm wondering if, on the Tomcat side, I can log the mod_jk (Apache side) outgoing port with the Tomcat request handler thread name in order to track end-to-end network traffic.
Andy
  • 142
  • 7
0
votes
1 answer

Routing Apache to JBoss production server

We have a JBoss production on which our Java application is running. We have configured an Apache Server(DMZ) to route the traffic to JBoss production server and to increase security. We have used Apache's mod_jk module for routing to production and…
Umair
  • 1
  • 1
0
votes
1 answer

subdomain tomcat under apache2 is ignored (Ubuntu)

My problem seems quite simple, but I have no clue where the problem comes from I have apache2, mod_jk, and two apps tomcat, main and test I would like to use main for the "main domain" (so, if I have the url www.mysite.com, I find this main), and if…
Hermios
  • 113
  • 5
0
votes
1 answer

How to reload mod_jk

I work under Ubuntu. Each time I restart apache2, it tells me that jk_module is already loaded, so it skips it. Problem : I think I misconfigured something, so I changed it, but since it is not reloaded, change are not taken. So, How can I reload…
Hermios
  • 113
  • 5
0
votes
1 answer

Several JkUnmount(s) in multiple VirutalHost(s)

I am trying to configure multiple VirtualHosts in my mod_jk.conf. I have a few JKMounts and several JKUnmounts which will be common to all of the VirtualHosts. I was trying to move these *mounts to JKMountFile. After a while, I realized that the…
TJ-
  • 61
  • 1
  • 1
  • 9
0
votes
0 answers

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

apache2 reverse proxy broken after modsecurity is installed ubuntu on 12.04.1

this is the first time I have run into issue like this one. I have a java application setting behind a apache2 using mod_ajp on 8009. I have noticed that I could not get the client's IP so I have created another virtual host file and switched to…
black sensei
  • 609
  • 3
  • 10
  • 25