RE: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-08 Thread Maciej Zabielski
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 HTTPD. Other solutions looked even more complicated as: 1 - Ports below 1024 are available only to root user, and I wanted

RE: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-08 Thread Caldarale, Charles R
From: Maciej Zabielski [mailto:m...@tessel.pl] Subject: RE: mod_jk problem related to multiple hosts on Apache and Tomcat 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 HTTPD. Probably written

RE: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Caldarale, Charles R
From: Maciej Zabielski [mailto:m...@tessel.pl] Subject: mod_jk problem related to multiple hosts on Apache and Tomcat Tomcat Host Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path=

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Tsirkin Evgeny
What Chuck means is that you need docBase=/var/lib/tomcat5/webapps/alfresco On Wed, Oct 7, 2009 at 8:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Maciej Zabielski [mailto:m...@tessel.pl] Subject: mod_jk problem related to multiple hosts on Apache and Tomcat Tomcat

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Rainer Jung
On 07.10.2009 19:40, Maciej Zabielski wrote: Hello, I have a mod_jk problem related to multiple hosts on Apache and Tomcat My setup is Centos 5.3 + Apache HTTPD 2.2.3 + Tomcat 5 httpd.conf contains (Just before section 3) Basic mod_jk directives. At the end it contains two virtual

RE: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Maciej Zabielski
Thank you both for your support! You are absolutely right. My thinking (rather unexperienced, because this is my first month with linux / tomcat) was that by setting: docBase=/var/lib/tomcat5/webapps/alfresco alfresco would become root of localhost (as it actually does?) and therefore would be

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread André Warnier
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