On Fri, 27 Sep 2002, danox wrote: > Thanks for your response. > here is my mod_jk.conf file. > looks to me like the log directives are ok:
You might try setting your JkLogLevel to a lower level, so more information gets output to it. I think other allowable values are warn, info, debug. Also make sure the permission are such that the process can write to the log. > ########## Auto generated on Mon Sep 23 13:17:20 EST 2002########## > > <IfModule !mod_jk.c> > LoadModule jk_module libexec/mod_jk.so > </IfModule> > > JkWorkersFile "/usr/local/jakarta-tomcat-4.0.2/conf/jk/workers.properties" > JkLogFile "/usr/local/jakarta-tomcat-4.0.2/logs/mod_jk.log" > > JkLogLevel emerg > > > > <VirtualHost monkeymagic> > ServerName monkeymagic > > JkMount /examples ajp13 > JkMount /examples/* ajp13 > > JkMount /webdav ajp13 > JkMount /webdav/* ajp13 > > JkMount /tomcat-docs ajp13 > JkMount /tomcat-docs/* ajp13 > > JkMount /manager ajp13 > JkMount /manager/* ajp13 > > JkMount / ajp13 > JkMount /* ajp13 > DocumentRoot "/var/tomcat/webapps/ROOT" > </VirtualHost> > > > Milt Epstein wrote: > > > On Wed, 25 Sep 2002, danox wrote: > > > > > > > >> I have set up tomcat 4.0.2 to run with apache 1.3.24 on an OpenBSD > >> platform. I used mod_jk to provide the connection, which I managed to > >> compile from source on OpenBSD. > >> > >> I am having 2 problems, believe if I resolved the first it would help > >> me someways to resolve the second. > >> > >> 1) > >> mod_jk creates a log file, but never writes to it. the log is always 0 > >> length. I have used the following lines to try and get it to produce a > >> log file: > >> *********************************** > >> <!-- Define the default virtual host --> > >> <Host name="monkeymagic" debug="0" appBase="/var/tomcat/webapps" > >> unpackWAR > >> s="true"> > >> > >> <!-- this line is included for apache integration using mod_jk --> > >> <Listener > >> className="org.apache.ajp.tomcat4.config.ApacheConfig" append ="true" > >> forwardAll="true" noRoot="false" jkDebug="debug" /> > >> *********************************** > >> > >> I have tried this with jkDebug="debug" and jkDebug="error" as well. (got > >> this from > >> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html) > >> > >> Everything else goes fine, catalina.out reveals that tomcat-apache has > >> started, and I can actually get apache to talk to tomcat, but no log > >> file is generated. > >> > > > > [ ... ] > > > > I believe the mod_jk log file is controlled by directives that go in > > the Apache httpd.conf (perhaps via an Include). (The above Listener > > is to have Tomcat auto-generate a mod_jk.conf file.) Check out the > > JkLogFile and JkLogLevel directives. You show that you include the > > auto-generated mod_jk.conf file, but you don't show what's in it. > > > > Don't know about 2. > > > > Milt Epstein > > Research Programmer > > Integration and Software Engineering (ISE) > > Campus Information Technologies and Educational Services (CITES) > > University of Illinois at Urbana-Champaign (UIUC) > > [EMAIL PROTECTED] > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
