tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob <>
Subject Re: Question about "Tomcat-Apache HOWTO"
Date Tue, 16 Apr 2002 20:39:15 GMT
Yeah, I recall this with 3.3 in some backwoods piece of documentation it 
says that you have to start tomcat with <some arg> to 
generate the .conf file.  (maybe ajpconf) or ajpid or something can't 
remember.  Anyway the generated file only ever contained something 
similar to the following.

# start mod_jk.conf

<IfModule !mod_jk.c>
   LoadModule jk_module libexec/

JkWorkersFile "/usr/local/jakarta-tomcat/conf/"
JkLogFile "/usr/local/jakarta-tomcat/logs/mod_jk.log"

JkLogLevel emerg

JkMount /examples/* ajp13

#end mod_jk.conf

Obviously you'll have to adjust paths according to where your 
${tomcat.home} and ${apache.home}/libexec are.

The can be stolen out of one of the tomcat 3.3 binary 
packages and munged to work also.

Lastly, the conf works with tomcat 3.3.x and I've also been using it 
with 4.0.3.  If anyone has improvements don't be shy.


Cheng Yan wrote:
> According to an article "Tomcat-Apache HOWTO" on
> :
> ======
> When Tomcat starts up it will automatically generate a configuration file
> for Apache in TOMCAT_HOME/conf/jserv/tomcat-apache.conf. Most of the time
> you don't need to do anything but include this file (appending "Include
> TOMCAT_HOME/conf/jserv/tomcat-apache.conf") in your httpd.conf.
> ========
> However, when I start tomcat on my machine, everything seems fine except
> that I do not see file "tomcat-apache.conf". I assume that TOMCAT_HOME is
> the same as CATALINA_HOME, right? I don't even see a subdir call jserv. Is
> this normal?
> BYW, my machine is ultra-sparc 1 running Solaris 8. I can visit
> http://localhost:8080, though. And there are only following files under my
> % cd $CATALINA_HOME/conf
> % ls
> catalina.policy
> server.xml
> tomcat-users.xml
> web.xml
> Could someone explain it to me? Thanks.
> --
> To unsubscribe:   <>
> For additional commands: <>
> Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message