The tag has no wiki summary.

learn more… | top users | synonyms (1)

6
votes
4answers
2k views

mod_jk or mod_proxy

I tried googling and the only articles I found comparing these two were from 2005 down to 2002. I just set up my first Tomcat instance to run Jira for a project I'm doing. I want to proxy this ...
4
votes
2answers
1k views

Apache load balancing when the session id is in url

I really have no idea... I have a java web application which stores the session id in URL rather than using cookies. I want to run the application on 2 tomcat servers and fronting them with an Apache ...
4
votes
2answers
14k views

Header set Access-Control-Allow-Origin not working with mod_rewrite + mod_jk

My first question on here on SF so please forgive me if I manage to bork the post. :) Anyways, I'm using mod_rewrite on one of my machines with a simple rule that redirects to a webapp on another ...
4
votes
3answers
5k views

Connecting tomcat6 to apache2

Disclaimier: Not a server admin I've been scratching my head over this for weeks now (not consistently mind you, as that would be maddening). I've been trying to connect my apache2 server to my ...
4
votes
1answer
662 views

Varnish + Tomcat vs Apache + mod_jk + Tomcat

Does anyone have some performance metrics for Varnish in front of 1) Tomcat or 2) Apache with mod_jk (connected to Tomcat). I know that the AJP connector is supposedly faster than HTTP, but I was ...
4
votes
1answer
1k views

Apache Mod_rewrite rule working on one server, but not another

I am using mod_jk and mod_rewrite on httpd 2.2.15. I have a rule.... RewriteCond %{REQUEST_URI} !^/video/play\.xhtml.* RewriteRule ^/video/(.*) /video/play.xhtml?vid=$1 [PT] I just want to rewrite ...
3
votes
3answers
2k views

Jboss + mod_rewrite =?

I have 2 servers, Apache and Jboss. Using JKmount .war files are mounted and present a complex site. eg: JkMount /directory/* ajp13 Alias /directory /jboss/server/default/deploy/directory.war ...
3
votes
1answer
717 views

PHP and JSP running on same machine.. Tomcat on Apache

Sorry if this has been posted/answered already, but I cannot find the simple answer. I have two applications one JSP and one PHP both hosted on same machine running apache and tomcat. Apache is ...
3
votes
5answers
7k views

mod_jk problem: Tomcat is probably not started or is listening on the wrong port

I am running some application on Tomcat 6.0.26. There is Apache in front of web server talking to it over mod_jk. Every few hours when I try to access application browser simply spins, and no content ...
3
votes
1answer
2k views

Apache in front of Glassfish: mod_jk on https(443)

After the recommendation of using Apache http server in front of glassfish ( check question ), i used the following tutorial and made it work but only on port 80. What i mean is now i can type: ...
3
votes
0answers
173 views

Compression of Tomcat mod_jk results in Apache httpd

I'm developing a web application locally on my system, serving it using Tomcat (tomcat-7.0.52). In production, I want to front the Tomcat with an Apache httpd (Apache/2.2.15). This works and I ...
2
votes
2answers
3k views

Farm Deployer not working in Tomcat Cluster

I have setup apache-tomcat clustering(Ubuntu Server) and I used tomcat supported clustering technique with mod_jk following the link. I've setup with One Load Balancer and Two web servers. The major ...
2
votes
2answers
1k views

Tomcat 7 with mod_jk

I am at cross roads in deciding whether to use mod_jk or mod_proxy for setting up a load balancing system with Apache 2 and Tomcat 7. I read the usual comparison that mod_jk is more powerful but ...
2
votes
2answers
781 views

mod_jk status page not working

I am doing clustering in Tomcat 7 with Apache server. It is working fine too. However I have the following issues: 1) I am trying to monitor the mod_jk status page; but it is giving 404 error. 2) in ...
2
votes
1answer
1k views

Glassfish behind Apache reverse proxy: Mod-jk or HTTP?

I am planning a large deployment of a Glassfish-powered web application: A number of nodes running multiple Glassfish 3.1.1 instances are running the web application. The web application consists of ...
2
votes
1answer
1k views

hosting 2 webapps under 1 apache/tomcat

I am trying to host multiple webapps under tomcat 6 behind apache2 via mod_jk. I am at my wits end with this. the problem i am facing that both domains seems to point to a single tomcat 'domain'. my ...
2
votes
1answer
147 views

Why does mod_rewrite not reprocess rewritten paths?

I'm doing a path rewrite to set and environment variable that will cause mod_jk to use a specific JBoss server. Works perfectly with any of the application paths. When I try our monitoring servelet ...
2
votes
1answer
132 views

Apache2 mod-jk and VirtualHosts

I have an apache2 server with few virtual host. Two of those Virtual Hosts is using modJK to handle pages generated by Glassfish. I have global configuration for modJK and JkMount directives used ...
2
votes
1answer
928 views

how to disable mod_jk log completely?

My mod_jk.log gets 2MB bigger in an hour and all it has entries like : [Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.690152 [Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.002675 [Mon Aug 13 ...
2
votes
1answer
120 views

Apache (mod_ssl) not delivering SSL Certificates when requested

Houston, I have a problem. I have an instance of Apache (httpd) on one machine using mod_ssl with openssl and mod_jk pointing at several tomcat instances on other physical machines. Apache is really ...
2
votes
1answer
306 views

JBoss 5.1.0 GA with Apache Load Balancer

I've followed the tutorial here: http://community.jboss.org/wiki/UsingModjk12WithJBoss All my files as configured as it says there but then I try to access http://localhost/jmx-console I get Proxy ...
2
votes
1answer
990 views

Apache, Tomcat and mod_jk for load balancing

I've set-up a basic Apache (2.2.x) and Tomcat (6.0.x) set-up using mod_jk for load balancing using the worker.properties file. Preliminary testing seems to show that this works relatively well, and it ...
2
votes
4answers
895 views

what is the experience with the load balancing service offered by amazon?

We are currently using mod_jk and apache to load balance our tomcat servers. We would like to know what is the experience and comparison with the amazon AWS load balancer.
2
votes
1answer
577 views

How to turn on mod_cache with mod_proxy or mod_jk

I'm trying to setup apache+mod_jk/mod_proxy with mod_cache. But it looks like all proxied requests are ignored by mod_cache. May be it is related to module handling order or something else? Apache ...
2
votes
1answer
680 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
664 views

significant page load speed difference : directly accessing Tomcat (localhost) VS accessing tomcat via Apache (mod_jk connector)

I have a tomcat v6 which contains 2 web applications (JSF2.0 and JSP). The physical server is RedHat Enterprise with 16GB memory. In current form, the tomcat is exposed to the internet via apache ...
2
votes
2answers
5k views

IOException: Socket read failed using Apache 2, mod_jk and Tomcat over AJP

I am getting the following Exception from time to time when my users are connecting with their Android devices to out JSON Rest Service: java.io.IOException: Socket read failed at ...
1
vote
1answer
357 views

Apache + Tomcat: Connection, but not via mod_jk

I am tasked with installing a new system to take over the job of an old system. The old system is a Ubuntu installation running Apache and Tomcat, as well as a few other services. The new system will ...
1
vote
2answers
206 views

Is there any reason to use Apache as a proxy between my users and Glassfish?

I've seen a lot of discussion on the best way to use Apache as a proxy (either mod_proxy or mod_jk) with Glassfish (and other Java application servers), but I haven't seen anybody really explain why. ...
1
vote
2answers
1k views

SSL configuration , Tomcat with Apache and mod_jk

I am looking to configure SSL with tomcat 6 and apache web server, using the tomcat connector mod_jk. I am pretty new to this, so please bear with me. I have SSL certificate purchased and configured ...
1
vote
1answer
227 views

tomcat7 beginner- using mod_jk with multiple different domains

I am setting up a server where "domain1.com" and "domain2.com" should be served by Apache HTML/PHP server, while "app.domain1.com" and "domain3.com" should be served by Apache Tomcat. I want to ...
1
vote
1answer
376 views

setting up workers.properties file for mod_jk

I'm trying to create a workers.properties file to get mod_jk communicating with Apache webserver 2.2.x. The GlassFish 3.1 Administration Document includes the following example for worker.properties: ...
1
vote
1answer
850 views

Apache HTTPD - Segmentation fault when loading mod_jk module

I just set up mod_jk with my Apache httpd 2.0.52 installation, but now when I try to start Apache, it has a segmentation fault. I've checked that I am using the mod_jk compiled for 2.0.x.. built ...
1
vote
2answers
2k views

How do I properly run Tomcat alongside Apache?

I have installed Apache Tomcat and Apache Webserver on a Ubuntu 10.04 Server system. I basically followed these steps to configure the mod-jk connector and my webserver now seems to redirect all ...
1
vote
3answers
1k views

Apache + tomcat + jnlp

We have an instance of Tomcat behind an Apache. We use mod_jk. The module config is: LoadModule jk_module modules/mod_jk.so <IfModule mod_jk.c> JkWorkersFile conf/workers.properties ...
1
vote
1answer
107 views

High Volume Settings for Apache / Tomcat/ Mod.JK

I have a 3.5 GB 2 CPU server running on tomcat/apache with mod.jk. We are seeing our server itself having plenty of memory available and tomcat is not showing anything crazy in terms of GC. We have ...
1
vote
3answers
2k views

mod_jk produces Error smh errno=13

I am trying to use mod_jk for load balancing. Loadbalancer 172.17.8.189 (HTTPD+mod_jk) Node1 172.17.8.193 (apache tomcat instance 1) Node2 172.17.8.196 (apache tomcat instance 2) I checked my tomcat ...
1
vote
1answer
844 views

Apache2 with SSL and mod_jk on SUSE Linux Enterprise | Apache always starts SSL disabled

I have installed Apache2 (with mod_ssl enabled) on SUSE Linux Enterprise Server 11 (x86_64) (patchlevel 1), using YaST. Once installed, I tested whether everything works fine so far. SSL also worked ...
1
vote
1answer
757 views

How can i handle JSESSIONID in Nginx conf

Im using Nginx as FrontEnd Server, and behind it a Apache Http Server and begind it a Glassfish Application Server :) My problem is, when i need a static context like; ...
1
vote
1answer
845 views

Connection from Apache to Tomcat via mod_jk not working

I would like to connect apache to tomcat via mod_jk (same machine). The ajp connector in tomcat is listening on port 8009, the worker settings are: worker.worker1.port=8009 ...
1
vote
1answer
1k views

Apache2 mod_jk LoadBalancer + Tomcat7 - Performance-Tuning

we have a very high load System with round about 8.5 Million User per day. Actually we have 8 Apache2 Loadbalancer (Ubuntu 10.04.3 LTS x64 via DNS-RoundRobin) which are sending the traffic via AJP1.3 ...
1
vote
1answer
286 views

mod_jk configuration for both Apache and Tomcat on same server

I am trying to set-up a proper configuration to have Apache serve some static html pages and to pass other requests for dynamic pages to Tomcat. So far, I have installed Apache2 and Tomcat6 ...
1
vote
1answer
672 views

Tomcat web application high availability

I have setup apache-tomcat clustering(Ubuntu Servers) and I used tomcat supported clustering technique with mod_jk following the link which is clear and easy to follow. I did this in my LAN with ...
1
vote
1answer
1k views

Large concurrent user performance issues for Apache + mod_jk + GlassFish v3.1 clusters

I am running a java ee 6 ear application on a GlassFish v3.1 ( 2 clusters with 2 instances each) load balanced by an Apache v2.2 with mod_jk - all on the same server (Windows Server 2003 R2, Intel ...
1
vote
2answers
633 views

apache 2 + passenger + redmine mapping question

I have these two sites defined in my apache2 server. Redmine server #REDMINE SITE (/etc/apache2/sites-available/redmine) <VirtualHost *:8080> # this is the passenger config ...
1
vote
1answer
411 views

Apache mod_jk replacing mod_rewrite rules

We have a slightly complex Apache 2.2 setup in front of a Tomcat 6.0 instance. The main Tomcat webapp is deployed in: /opt/tomcat/webapps/ROOT But we also have static content that we update ...
1
vote
1answer
654 views

Virtualhost Apache and Tomcat

I have Tomcat and Apache web server. by MOD_JK I configure Apache to send request for http://127.0.0.1/cas to Tomcat. http://127.0.0.1/cas works correctly and Tomcat response to it. now I want this ...
1
vote
1answer
3k views

Apache module “mod_jk”. Setup rewrite condition for using https for specific url/context

I do have a "simple" question that probably can be answered by you in seconds ;) I setup an apache webserver (v2.2), this apache server serves as balancer with "mod_jk" enabled. 2 different ...
1
vote
2answers
678 views

Apache Virtual host not recognized

I've been using one server, then I reinstalled everything on another server, and the mod_jk stopped working. Here is the situation: apache 2.0 sitting "in front" mod_jk used to connect to the apache ...
1
vote
2answers
2k views

Nginx as a proxy to Jetty

Pardon me, this is my first attempt at Nginx-Jetty instead of Apache-JK-Tomcat. I deployed myapp.war file to $JETTY_HOME/webapps/, and the app is accessible at the url: http://myIP:8080/myapp I did ...