tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien OIX <julien....@presidence.univ-nantes.fr>
Subject Configuring Tomcat/apache service with mod_jk
Date Wed, 20 Feb 2002 14:57:09 GMT
I've been trying Tomcat/Apache with mod_webapp and now I'd like to
compare with mod_jk

I'm using a RedHat 7.1 with these RPM's:

apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2
mod_bandwidth-2.0.3-2)

tomcat4-4.0.2-2

mod_jk-1.3-1.0-1.4.0.2

#####A part of httpd.conf

LoadModule jk_module 		modules/mod_jk.so

###In my virtual Host section

Port 8009
<IfModule mod_jk.c>
	JkWorkersFile /etc/httpd/conf/workers.properties
	JkLogFile logs/mod_jk.log
	JkLogLevel info
	JkMount /*.jsp ajp13
	JkMount /servlet/* ajp13
</IfModule>
####

####workers.properties

workers.tomcat_home=/var/tomcat4
workers.java_home=/opt/IBMJava2-13
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=site.presidence.univ-nantes.fr
worker.ajp13.type=ajp13

worker.ajp13.lbfactor=1
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
####

### server.xml
<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Apache">
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
     port="8009" minProcessors="25" maxProcessors="75"
     acceptCount="10" debug="0"/>

     <Engine name="Apache" defaultHost="site.presidence.univ-nantes.fr"
debug="0">

      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="engine_log." suffix=".txt"
              timestamp="true"/>

      <Realm className="org.apache.catalina.realm.MemoryRealm" />

      <Host name="site.presidence.univ-nantes.fr" debug="0"
appBase="webapps" unpackWARs="true" >

            <Logger className="org.apache.catalina.logger.FileLogger"
                  prefix="host_log." suffix=".txt"
                  timestamp="true"/>
      </Host>
    </Engine>
  </Service>
</Server>
#####

and when I only try to start tomcat, I receive this in my error_log

[Wed Feb 20 15:46:40 2002] [emerg] (2)No such file or directory: Error
while opening the workers


any ideas ?

thanks in advance

-- 
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: julien.oix@presidence.univ-nantes.fr

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message