The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
181 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
694 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 ...
2
votes
1answer
1k views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
2
votes
1answer
2k views

mod_jk logs errors but users report none

We have an apache server load balancing requests for downloads to two different servers. The mod_jk error log is filled with the following kind of errors [Mon Feb 13 16:59:02.948 2012] ...
1
vote
1answer
2k views

Request Entity Too Large mod_jk

I have setup where there is apache (httpd) and apache tomcat both are connected with ajp and in my http.conf LimitRequestLine 65536 LimitRequestFieldSize 65536 under <VirtualHost> and ...
1
vote
1answer
312 views

Why does mod_jk bypass Apache authorization?

Since switching from Apache 2.2 authorization gets bypassed for many JkMounts (except jk-status). If I cancel the browser password popup, I get a 401-page. It is not, as I expect, the one from ...
1
vote
1answer
2k 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
423 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
263 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
965 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
789 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 ...
0
votes
1answer
142 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
689 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
212 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
59 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 ...
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
497 views

mod_jk not tries to connect

I have the following strings in /var/log/httpd/mod_jk.log [Fri Apr 05 20:48:04.709 2013] [11848:46912530825504] [info] ajp_service::jk_ajp_common.c (2543): (ajp13) sending request to tomcat failed ...
0
votes
1answer
679 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
120 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
1k 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 ...
0
votes
1answer
368 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
380 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
670 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
203 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 ...
0
votes
1answer
638 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
312 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
16 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
199 views

Using JkMount in a LocationMatch directive in Apache 2.2

I'm on Debian Wheezy with Apache 2.2.2. I previously had all requests for a VirtualHost forwarding to Tomcat using: JkMount / ajp13_worker JkMount /* ajp13_worker Now, I want to exclude one ...
1
vote
0answers
2k 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. ...
1
vote
0answers
266 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
521 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
116 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
292 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 ...
1
vote
0answers
508 views

Apache, mod_ssl, mod_jk, tomcat and client certificates filtering

I am working on a very specific apache+mod_ssl+mod_jk+tomcat So far, a basic configuration works as I want: accessing my webapps behind all that stuff works great. I am using a wildcard certificate ...
0
votes
0answers
14 views

Apache server unable to access webapps from Tomcat server

I start recently from scratch a new ubuntu server, where I install the packages apache2, tomcat7 and libapache-mod-jk. After all the configurations done (following the steps described here), I am be ...
0
votes
0answers
22 views

In mod_jk, what is the difference between connect_timeout and fail_on_status for high availability?

If I am using Apache for load balancing with mod_jk, and I set the connect_timeout to say 10000. If the connection times out in ten seconds and goes to the next worker, what is the difference in that ...
0
votes
0answers
99 views

Setting up caching with Apache for Tomcat REST API

I have a Tomcat Web Application which only provides an REST API and nothing else. Since some of the provided services generate XML responses that have a size of up to 5MB I'd like them to be cached. ...
0
votes
0answers
38 views

Does mod_jk offers a similar conf of weblogic plugin to path prepend

I would like to know if is possible in Jboss, to foward a request to a non default web app. The weblogic plugin for apache has the option pathpreprend which append to each request a specific web ...
0
votes
0answers
331 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
108 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
44 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 ...