The tag has no usage guidance.

learn more… | top users | synonyms

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

Ubuntu apache-tomcat webserver clustering/load balancing

I have a Ubuntu production server running apache2 and tomcat6 both on port 80 with mod_jk setup hosting some jsp pages. And also, all the client's informations are stored in the mysql databases on the ...
1
vote
0answers
445 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
1answer
406 views

How to make mod_jk authenticate SSL connections

I have a 3 Tomcat application servers with 3 Apache servers in front. Communication between Apache and Tomcats is done via mod_jk. I need to have secure connections between the Tomcat and Apache ...
1
vote
2answers
728 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 ...
0
votes
1answer
113 views

Divide webapps between tomcat instances

I have 300 webapps in a single Tomcat. It takes a while to restart Tomcat plus a few other limitations. I have Two web servers load balanced in current Apache + Mod_JK + Tomcat setup. These servers ...
0
votes
1answer
404 views

Apache mod_jk serves JSP through HTTP but fails to server JSP via HTTPS protocol?

I am running a application on JBoss4.0.3(using Tomcat AJP on ports 8009 and 8443) and I just setup a Apache HTTPS server that is listening on both port 443 and port 80. Everything works fine via ...
0
votes
1answer
376 views

Confusion in installing mod_jk on Ubuntu

I am working from this document in trying to install mod_jk http://www.howtoforge.com/apache2_tomcat5_mod_jk_p2 I am at the step towards the bottom where they suggest to use the make command. I was ...
0
votes
1answer
4k views

Apache 2.2.17 + Tomcat 7 on Windows Server?

What's the most painless way for a newbie to get Tomcat 7 and Apache 2.2.17 running together on Windows Server 2008 R2? I want Apache to handle all the static content and for Tomcat to handle the ...
0
votes
3answers
3k views

SSL redirect problem with JBoss 4.2.3, Apache mod_jk and a hardware load balancer

We are currently experiencing some problems with a network setup we have not used so far and I hope to get some more input how to work around this. The network of a customer of us uses 4 JBoss ...
0
votes
1answer
807 views

Rewriting URL for tomcat through an apache AJP connector

I've tried several attempts to resolve this, but all have come up naught. Currently I have apache setup to forward all urls at and past the /portal/ tag to tomcat. Unfortunately, tomcat receives ...
1
vote
1answer
477 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 ...
0
votes
2answers
320 views

Remote servlet by mod_jk?

I have remote servlet for example: h*tps://[ip_address]/servlet (h*tps://[ip_address]/ - Tomcat main page) that i need to configure on local Apache HTTPd server. My mod_jk configuration looks like ...
0
votes
1answer
632 views

One SSL certificate (one domain) for two servers?

I have two servers. On SERVER1 i have configured SSL certificate (on Apache) for domain ht*ps://somedomain.com. I need to connect to my working domain some app that exists on remote server SERVER2 - ...
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 ...
0
votes
2answers
608 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 ...
5
votes
3answers
6k 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 ...
0
votes
1answer
907 views

What configuration changes needed on tcServer to work with Apache Web server

I have Apache Webserver 2.2.17 and tcServer-6.0.20 and I want to dispatch requests from apache to tcserver. I am using mod_jk.so and I have the following in httpd.conf LoadModule jk_module ...
0
votes
1answer
2k views

trouble running multiple domains on tomcat behind apache via mod_jk

I am having trouble setting up tomcat6 with 2 virtual hosts, behind apache2. if i have just one host defined in tomcat, and one jk worker, everything works fine. as soon as i define another jk worker ...
0
votes
3answers
1k views

How to get html/css/jpg pages server by both apache & tomcat with mod_jk

I've apache2 and tomcat6 both running on port 80 with mod_jk setup on ubutnu servers. I had to setup an error document 503 ErrorDocument 503 /maintenance.html in the apache configuration and somehow I ...
0
votes
1answer
586 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 ...
1
vote
1answer
748 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 ...
0
votes
1answer
199 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 ...
1
vote
1answer
945 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 ...
0
votes
1answer
531 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 ...
1
vote
1answer
882 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 ...
0
votes
1answer
302 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. ...
0
votes
3answers
1k views

Answering all requests with a maintenance page without restarting Apache HTTP server

let say we have the following picture: A Apache HTTP server is serving the users' requests. It forwards all (or a part of) requests to a Tomcat server using mod_jk. Let's say we want to shutdown our ...
3
votes
1answer
827 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 ...
0
votes
1answer
3k views

multiple webapps in tomcat — what is the optimal architecture?

I am maintaining a growing base of mainly Cocoon-2.1-based web applications [http://cocoon.apache.org/2.1/], deployed in a Tomcat servlet container [http://tomcat.apache.org/], and proxied with an ...
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 ...
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
5answers
8k 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 ...
5
votes
2answers
2k 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 ...
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
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
1answer
7k views

How can I diagnose a “502 Bad Gateway” response from an Apache/Tomcat configuration?

I just finished up configuring a fairly default configuration of Tomcat. My Apache configuration was pre-existing and post-tomcat it still has no issues. I am using mod_jk to (if I am saying this ...
1
vote
1answer
750 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 ...
4
votes
2answers
16k 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 ...
2
votes
1answer
1k 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 ...
0
votes
2answers
181 views

tomcat behind 2 apache http servers

I have this architecture: http Ajp [Apache A] -------> [Apache B] ----------> [Tomcat] there is a way to configure [Apache B] to forward an ajp request in order to ...
1
vote
2answers
693 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 ...
0
votes
2answers
868 views

Running and accessing multiple instances of JBoss

I have 5 instances of JBoss configured and running on different ports (8080 to 8480),and each instance is assigned for a particular project team.I would like to configure it further so that users ...
0
votes
2answers
1k views

How to replicate apache mod_jk session data

is it possible to replicate the mod_jk sticky session information to another apache for an failover setup? the idea behind the question is to setup two apaches with sticky sessions in front off some ...
1
vote
2answers
1k views

Apache filling up with connections in state “Reading Request”

I have a problem with an apache who's stalling with too much requests. When I take a look at the server-status page I can see that most of the connections are in state "Reading Request", but do not ...
0
votes
3answers
685 views

Manually switch servers in Apache/mod_jk/Tomcat load balanced environment

Our setup is to have two front-facing WWW servers using Apache1.3 and mod_jk and two application servers running Tomcat. The frontend servers load balance transparently using sticky_sessions. ...
0
votes
2answers
889 views

Apache + mod_jk + tomcat: too many apache processes created

I am using Apache + mod_jk + tomcat on my server and when I get many requests, especially with 404 responses (apparently it is scanning), I see many httpd processes started. When I shut down Tomcat ...
0
votes
5answers
6k views

Configuring Apache, Tomcat, mod_jk and mod_rewrite to serve up tomcat from top-level

I'm trying to set up my java app as the main component of a new site. I have some static resources I'd like served by Apache, so I setup Apache and Mod_jk, with the following rules, JkMount ...