Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mod-jk]

The tag has no usage guidance.

1
vote
2answers
237 views

apache and jboss load balancing setup

In a normal load balancing setup with apache(mod_jk) and jboss what part of the total processing is done by apache and what part of it is done by jboss. If apache only balances the load then, in ...
0
votes
2answers
195 views

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 ...
0
votes
2answers
969 views

Apache+mod_jk and a specific 404 handler

I have a relatively simple Apache httpd + Tomcat via mod_jk setup that works well, but I need to have Tomcat handle certain 404 conditions. Basically, the httpd service will handle images and PDF ...
3
votes
1answer
3k views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
1
vote
1answer
1k views

Passing Headers Through to mod_jk

Apache 2.2.24 mod_jk 1.2.37 I'm trying to pass the siteminder username through to Tomcat which is configured with mod_jk. The siteminder username is available a request header named "SM_USER". ...
1
vote
1answer
670 views

Apache & Tomcat & mod_jk SSL redirection on certain pages only

We have a single Windows server running Apache and Tomcat with mod_jk enabled. The Tomcat app runs perfectly fine as does the separate PHP app (under Apache). We installed a commercial SSL cert ...
1
vote
1answer
2k views

URL Rewrite and mod_jk

I want to redefine the base URL of a Tomcat webservice, mounted with JkMount. I tried the following: JkMount /myapp/* ajp13_worker RewriteRule ^/service/v1/(.*)$ /myapp/$1 [PT,QSA] The original URLs ...
1
vote
1answer
426 views

multiple loadbalancers in modjk configuration in Apache Webserver for JBoss Instance Load-balancing

In most of the cases, we will have 1)only one worker defined of type 'lb' (Loadbalancer) 2)we will have multiple member workers (target application server instances defined) 3)We will map those target ...
1
vote
1answer
1k views

Apache sends 400 instead of 404

I've got an odd problem. Apache is replying with a 400 error code instead of 404 when ever a client requests a non existing jsp page (html request are answered correctly with a 404). The only time ...
1
vote
1answer
839 views

Mod_jk Tomcat VirtualHost

I have two applications in Tomcat app1 and app2. I have mod_jk configured for Apache front end and I am able to get the Tomcat index.jsp Now I created two virtualhosts for app1 and app2 so that app1....
0
votes
1answer
4 views

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(...
0
votes
1answer
40 views

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 ...
0
votes
1answer
64 views

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 ...
0
votes
1answer
79 views

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 ...
0
votes
1answer
394 views

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, ...
0
votes
1answer
709 views

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 ...
0
votes
1answer
2k views

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 ...
0
votes
1answer
302 views

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 ...
0
votes
1answer
136 views

Apache url canonicalization with mod_jk

I have the domain domain.gr. I have setup an Apache server with mod_rewrite and mod_jk. <VirtualHost *:80> ServerName domain.gr ServerAlias www.domain.gr ServerAdmin "info@domain....
0
votes
1answer
2k views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
0
votes
1answer
848 views

How to prevent mod_cluster as single point failure?

In my configuration i used Apche+mod_cluster as a front_end(load balancer) server and two JBOSS AS 7.1.0 as backend server. In my configuration on one system i have install Apache+mod_cluster + JBOSS ...
0
votes
1answer
133 views

Apache2 with mod_proxy_ajp doesn't rewrite url

I have apache2 exposing a jboss through mod_proxy_ajp on / and serving some static content with ProxyPass /static ! ProxyPass / ajp://localhost:8009/ in proxy_ajp.conf. I need to redirect all the ...
0
votes
1answer
504 views

Deploying war with custom context in Tomcat

I have a Tomcat server fronted by Apache with comms using AJP. The configuration uses JkMount for mapping URLs on Apache to the Tomcat node. I am helping in the deployment of an application which is ...
0
votes
1answer
440 views

Spring Security, Apache 2 fronting Tomcat6. Can't login / immediatly logs out

I deployed my GWT app, that uses SpringSecurity, and have a problem. After feeding the credentials it logs out immediately. If I put in the wrong credentials, it says 'wrong credentials', but when I ...
0
votes
1answer
932 views

How to map a web application to the root of a virtualhost?

I wrote a MVC Servlet + JSP web application and deployed in Apache+Tomcat. I don't call JSP directly, but I use them as view and I call them from the Servlets. To make it visible in a virtual host, I ...
0
votes
1answer
223 views

Mapping tomcat apache worker

I am running an Apache2 server connected with Tomcat5.5 Workers.properties workers.tomcat_home=/usr/share/tomcat5.5 workers.java_home=/usr/lib/jvm/java-6-sun ps=/ worker.list=worker1 worker.worker1....
0
votes
1answer
1k views

How to use Apache to redirect to IIS on a different port?

I have Apache configured with jk_mod to redirect to several instances of tomcat. Apache is listening on port 80, and depending on the URL it receives it will redirect to a different tomcat instance (...
0
votes
1answer
376 views

mod_jk/isapi_redirect not loading settings

I'm setting up the IIS version of mod_jk so I can redirect requests to a Tomcat instance. Running IIS 6 on Win2k3 server on a Xeon 64-bit CPU. I'm running the AMD64 version of isapi_redirect.dll. ...
1
vote
0answers
228 views

Apache + MOD_JK: Rewriting URLs + ProxyPassing thorugh AJP

I've a frontal server with Apache 2.4.23 deployed + OpenSSL 1.0.2j. Then I've another server with Tomcat 7 installed. The idea is that Apache has a VHOST on *:443, which uses ProxyPass to send the ...
1
vote
0answers
423 views

socket_keepalive configuration for mod_jk

I have Apache httpd with mod_jk. I have issue with killed connections after long idling period: Apache stops to respond and each HTTP request hangs for 15 minutes. I tried turn off mod_jk connection ...
1
vote
0answers
5k views

mod_jk losing connection with tomcat

I'm running an Apache tomcat + mod_jk 1.2.40 behind an apache web server. Everything has been setup and works properly for some amount of time since a tomcat startup (measurable in days/weeks); then ...
1
vote
0answers
1k views

Confusion setting up a simple tomcat6 clustering on ubuntu 12.04 using mod_jk: status page won't show

am a little confused when setting up 2 tomcat6 instances cluster in a clean ubuntu server 12.04. i didn't install default tomcat6 i used tomcat6-user's tomcat6-instance-create to create 2 instances. I'...
1
vote
0answers
330 views

mod_cluster and Tomcat load balancing design

I am fairly new to Load balancing. I am able to setup a load balancer using Apache httpd, mod_jk and tomcat. Now the problem is we would like to have design in the following manner, [...
1
vote
0answers
832 views

Could not get endpoint for worker (jk_handler::mod_jk.c)

I am using Apache2 with Tomcat on debian Lenny, When I try to access the site, its working but sometime I am getting error 500 "Internal server error". From the mod_jk.log, I could find the following ...
1
vote
0answers
215 views

tomcat/mod_jk- error trying to configure mod_jk with tomcat+apache web server

I am trying to configure mod_jk so that http://domain.com/ is served by Apache while http://app.domain.com/ is served by Tomcat. Now when I go to app.domain.com, I can see Tomcat message, however I am ...
1
vote
0answers
384 views

mod_jk with Tomcat 6 and HTTP Authentication

Are there any gotchas using ModJK to forward to an application protected by standard HTTP Authentication? We have two web apps installed on our Tomcat 6.0.14, one is the standard Tomcat Manager while ...
0
votes
0answers
8 views

Is it possible to have two worker load balancers in same config file in mod_jk pointing to two seperate domains

Sorry if this has been posted before but couldn't find exactly what I am looking for. I have been tasked to migrate off old servers and consolidate new servers to cut down on costs etc. The powers ...
0
votes
0answers
257 views

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 ...
0
votes
0answers
34 views

404 error when accessing servlets in tomcat via apache2

I have my virtual host set up like this: <VirtualHost *:80> DocumentRoot /var/www/example <Directory /var/www/example> DirectoryIndex index.html ...
0
votes
0answers
875 views

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 ...
0
votes
0answers
202 views

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 ...
0
votes
0answers
50 views

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 ...