The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
3k 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
2k 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
620 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
375 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
270 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
619 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 - ...
1
vote
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
507 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 ...
4
votes
3answers
4k 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
751 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
874 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
439 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
591 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
179 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
760 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
367 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
509 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
259 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
899 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
597 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
2k 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 ...
3
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
6k 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
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 ...
1
vote
3answers
961 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
6k 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
658 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
12k 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
935 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
180 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
669 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
782 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
950 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
644 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
1answer
785 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
5k 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 ...
0
votes
1answer
390 views

Tomcat + mod_jk blocking mysql connections for other Apache 2 VirtualHost apps

I have responsibility for a legacy Tomcat webapp running as webapps/ROOT. Previously the app was running on a dedicated Linux server, but to save money I was asked to move it to a different Linux ...
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 ...
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 ...
2
votes
4answers
876 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.