How do I host multiple websites with Apache2 and Tomcat Cluster ??

2009-04-26 Thread nohacks
Hi All, I have a question for any Apache Tomcat master. How you host multiple websites with Apache2 and Tomcat Cluster ?? It would be nice to have separate log files ?? I am using AJP and wondering how this would work. Also, with sticky sessions and separate websites ?? Thanks for all help.

Re: How do I host multiple websites with Apache2 and Tomcat Cluster ??

2009-04-26 Thread nohacks
This is my httpd.conf file. LoadModule jk_module /usr/lib/apache2/modules/mod_jk-1.2.27-httpd-2.2.6.so JkStripSession On JkMount /*.jsp loadbalancer JkMount /*.jsf loadbalancer # JkMount /*.jsp ajp13 # JkMount /*.jsf ajp13 JkWorkersFile workers.properties JkShmFile

Re: #include'ing property files into conf/catalina.properties

2009-04-26 Thread Kees Jan Koster
Dear uma_rk, We centralize configurations in /etc/conf and hence I would like to import property configuration files into ${CATALINA_BASE}/conf/catalina.properties using #include as in // conf/catalina.properties ... #include /etc/conf/mytomcat.properties ... Please let me know if

RE: #include'ing property files into conf/catalina.properties

2009-04-26 Thread Martin Gainty
in your jsp you can use struts tags to include e.g. s:include value=Missing.jsp / http://struts.apache.org/2.0.14/docs/include.html bedankt, Martin __ Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité Diese Nachricht ist

Installing problem : Tomcat

2009-04-26 Thread parin123
Hello Everyone, I am trying to install Tomcat on Ubuntu Linux and here is the problem When I run make from jsvc-src directory I get following error message... gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\amd64\ -I/usr/bin/include -I/usr/bin/include/linux -Wall -Wstrict-prototypes -c java.c -o

Re: #include'ing property files into conf/catalina.properties

2009-04-26 Thread uma_rk
Thank you much for your response. I am looking for a mechanism that would do the inclusion at runtime (as in when Tomcat starts up). Hence I am unable to use gcc. I assumed that the Java property files intrinsically support #include making this transparent to Tomcat itself. Perhaps I am mistaken?

Re: Installing problem : Tomcat

2009-04-26 Thread André Warnier
parin123 wrote: Hello Everyone, I am trying to install Tomcat on Ubuntu Linux and here is the problem ... Hi. I am taking advantage of the fact that Chuck is on holiday, and maybe not watching this forum with his accustomed eagle eye. Considering that this is Ubuntu, and considering

Re: what is mod_jk parameter connection_pool_timeout in mod_proxy / mod_proxy_ajp / apache httpd?

2009-04-26 Thread Rainer Jung
On 26.04.2009 03:05, Arne Riecken wrote: Hello, in the past I used mod_jk with workers with connection_pool_timeout=600 and tomcat ajp connector with corresponding connectionTimeout=60 as recommended. Now I additionally want to use mod_proxy_ajp with apache 2.2.9. Where in apache

Dynamic Aliases and db connections?

2009-04-26 Thread Raymond Kleijngeld
Hello, I'm writing an application to support multiple clients using the same tomcat application. For security purposes I want each client to have there own database schema and subsequently their own subdomain i.e. sub1.domain.com, sub2.domain.com etc. I know I can update the server.xml file and