Questions tagged [mod-jk]

174 questions
1
vote
0 answers

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 unable to access Tomcat Manager- is there…
Arvind
  • 501
  • 4
  • 9
  • 18
1
vote
1 answer

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 accomplish this using Mod_JK, and I found some useful…
Arvind
  • 501
  • 4
  • 9
  • 18
1
vote
1 answer

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: # Define 1 real worker using…
gkdsp
  • 582
  • 1
  • 6
  • 19
1
vote
1 answer

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 be a Debian Squeeze, kept up to date with…
Dabu
  • 359
  • 1
  • 5
  • 23
1
vote
1 answer

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 to 20 Workers. On this workers our self-written…
Arny80Hexa
  • 139
  • 1
  • 4
  • 14
1
vote
1 answer

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 under Apache and created a directive in the…
John Virgolino
  • 687
  • 8
  • 17
1
vote
2 answers

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 theory, it should be possible to get the results…
Bonaqa
  • 11
  • 2
1
vote
1 answer

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 work, for…
stivlo
  • 749
  • 3
  • 10
  • 24
1
vote
1 answer

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 successfully. I am trying to follow the instructions…
Jérôme Verstrynge
  • 4,787
  • 7
  • 24
  • 35
1
vote
1 answer

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 three computers 1 as LB and other two as tomcat web…
user53864
  • 1,723
  • 11
  • 37
  • 66
1
vote
1 answer

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 workers with defined load balancer with the…
1
vote
2 answers

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. My setup right now is a single VPS running Ubuntu…
user83640
1
vote
0 answers

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 the other is the standard Tomcat sample…
Rich
  • 1,343
  • 7
  • 28
  • 39
1
vote
1 answer

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 Xeon CPU x5670 @2.93Ghz, 6GB RAM, 2 cpus). The web…
user10035
  • 11
  • 3
1
vote
2 answers

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) # this is the passenger config RailsEnv production RailsBaseURI /redmine …
netbrain
  • 753
  • 1
  • 6
  • 11