Re: Problem with mod_jk Connector

2005-12-10 Thread Martin Gainty
what this says is that all requests goto ajp13 worker I will need to see worker.properties file and the value of forwardAll set JkLogLevel info Martin- - Original Message - From: "Michael Andreas Omerou" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" ; "'Martin Gainty'" <[EMAIL PROTECTED

RE: Problem with mod_jk Connector

2005-12-10 Thread Michael Andreas Omerou
Hi Martin, Below is the extract from my httpd.conf: LoadModule jk_module modules/mod_jk-1.2.15-solaris8-sparc-apache-1.3.33.so JkWorkersFile /usr/local/etc/httpd/conf/workers.properties JkLogFile /usr/local/etc/httpd/logs/mod_jk.log JkLogLevel error JkMount /* ajp13 The idea is that all requests

Re: Problem with mod_jk Connector

2005-12-10 Thread Martin Gainty
Michael- in your httpd.conf we need to see JKMount statement for handling *.jsp pages see http://tomcat.apache.org/tomcat-4.1-doc/config/jk.html e.g. For example the following directives will send all requests ending in .jsp or with /servlet as the second path componenet to the "ajp13" worker,

Problem with mod_jk Connector

2005-12-10 Thread Michael Andreas Omerou
Hello, I have a Solaris server where I use Apache and Tomcat and I connect them using mod_jk. So far I was using mod_jk 1.2.5 and all requests to Apache were forwarded to Tomcat. Then, I needed to host some things under Apache (basically web statistics software, webmail, etc.). So I thought of

Re: How to load a class when tomcat starts

2005-12-10 Thread Anoop kumar V
The way we have done is to load a servlet during startup (very easy to do in web.xml) and through this servlet use Class.forName("classname") to load the required classes into memory. The reason we do this is to read a .properties file and store all the name value pairs in a hashmap to be retrieve

RE: How to load a class when tomcat starts

2005-12-10 Thread Richard Mixon
Vineesh, You should probably use a ServletContextListener . It will give you control when the web application starts and when it ends, among otherevents. It is pretty well described in the servlet spec and is pretty simple. HTH -Richard -Original Message- From: vineesh kumar [mailto:[E

Re: install tomcat daemon on linux

2005-12-10 Thread Warren Pace
ody, Since Linux distributions vary so much, it's up to the user to write his own script. Look in $CATALINA_HOME/bin/jsvc-src-native for an example. Better yet, there should be a script called skeleton in /etc/init.d you can use as a guide to write a proper LSB-conforming script for your fedor