tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Zabielski <>
Subject RE: mod_jk problem related to multiple hosts on Apache and Tomcat
Date Thu, 08 Oct 2009 07:10:11 GMT
Well Andre, you are right, but when I started reading what is the easiest way to 
make Tomcat available on port 80 (under Centos 5.3) the most common answer was: use Apache

Other solutions looked even more complicated as:
1 - Ports below 1024 are available only to root user, and I wanted to run Tomcat under default
Tomcat user
2 - I have removed aliases and exclusions from host configurations and left parts relevant
to my question, so not everything will be served by Tomcat.
3 - The applications that I'm using have multiple endpoints defined (more than 10 I believe)
in different configuration files, and as far as I know it might be the case that not all of
them are configurable. Because of that I still need localhost:8080 to serve the same application.
This is going to be solved in some future releases of Alfresco so it is going to be possible
to set "main endpoint" as just one configuration value.
4 - I can still use Apache HTTPD to host other applications on that server, that are PHP based.
(I know you can make PHP work on Tomcat somehow, but I believe it is recommended or "advised"
to run PHP on Apache HTTPD if possible?)  


-----Original Message-----
From: André Warnier [] 
Sent: Thursday, October 08, 2009 2:14 AM
To: Tomcat Users List
Subject: Re: mod_jk problem related to multiple hosts on Apache and Tomcat

One real question is why you are bothering with an Apache httpd in 
front, since unless I saw this wrong, you are proxying absolutely 
everything to Tomcat, in both virtual hosts.
JkMount /* etc..

Why not just turn off Apache, and have Tomcat listen on port 80 ?
You would save yourself some complication and some overhead.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message