On 22 Aug 2008 at 5:34, cornercuttin wrote: Send reply to: Tomcat Users List <users@tomcat.apache.org> Date sent: Fri, 22 Aug 2008 05:34:24 -0700 (PDT) From: cornercuttin <[EMAIL PROTECTED]> To: users@tomcat.apache.org Subject: tomcat 6 won't generate mod_jk.conf
> > perhaps someone can help me here. > > i am trying to get tomcat 6 to talk to apache 2.2.8 (fedora core 5), > and i > can't get very far. > > firstly, tomcat 6 doesn't come with a workers.properties file. > > secondly, when i start tomcat via the command "./startup.sh -jkconf" > or > "./startup.sh jkconf", i cannot get tomcat to create a mod_jk.conf > in the > conf directory. tomcat runs, but no file is created. > What docs. say to do that? > is there something that i am missing here? i've never needed tomcat > until > now, so i am new at this (tomcat), but proficient enough in apache. > but all > of the documentation i am finding online is saying that the > mod_jk.conf file > is necessary and that tomcat will create it, but i cannot seem to > get it to > work. You don't need it. What you need is a few lines in your httpd.conf such as LoadModule jk_module modules/mod_jk.so (to load the module) then a few lines to configure mod_jk and some jkmount directives such as: # Where to find workers.properties JkWorkersFile /opt/apache-tomcat-6.0.14/conf/workers.properties # Where to put jk logs # Update this path to match your logs directory location (put mod_jk.log next to access_log) JkLogFile /var/log/httpd/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel error # Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # Send /examples/ and .jsp requests to worker named worker1 (ajp13) JkMount /examples/* worker1 JkMount /*.jsp worker1 Your workers.properties can be simple as worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 -Steve O. > > thanks for any help. > -- > View this message in context: > http://www.nabble.com/tomcat-6-won%27t-generate-mod_jk.conf-tp191062 > 93p19106293.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > -------------------------------------------------------------------- > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]