tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Thompson" <THOMPS...@wooster.edu>
Subject Could not find a worker error
Date Fri, 03 Jun 2005 17:15:07 GMT
I am trying to configure mod_jk 1.2.11 to work with apache httpd 2.0.54
and tomcat 5.5 and having difficulties.  It seems the worker is not
configured correctly.  

The jk_mod log shows the following error:
[Fri Jun 03 10:33:37 2005] [info]  jk_handler::mod_jk.c (1976): Could
not find a worker for worker name=live

My workers.properties file:
workers.tomcat_home=/usr/local/tomcat_live
workers.java_home=/usr/java14_64
ps=/
#
worker.list=live
worker.live.type=ajp13
worker.live.port=8109
worker.live.host=localhost

My jk config in httpd.conf:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile           /usr/local/apache2/conf/workers.properties
JkLogFile               /usr/local/apache2/logs/mod_jk.log
JkLogLevel              info
JkMount                 /servlet/*              live
Alias /servlet "/usr/local/tomcat_live/webapps/ROOT/WEB-INF/lib"

My server.xml:
<Server port="8105" shutdown="SHUTDOWN">

  <GlobalNamingResources>
    <!-- Used by Manager webapp -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
          
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <Service name="Catalina">
    <Connector port="8180" />

    <!-- This is here for compatibility only, not required -->
    <Connector port="8109" protocol="AJP/1.3" />

    <Engine name="Catalina" defaultHost="localhost">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase" />
      <Host name="localhost" appBase="webapps" />
    </Engine>

  </Service>


<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080(or 9090)
-->       
    <Connector port="8180"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" redirectPort="8143"
acceptCount="100"
               debug="0" connectionTimeout="20000"
               disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout
value
     to 0 -->

        <!-- Note : To use gzip compression you could set the following
properti
es :

                           compression="on"
                           compressionMinSize="2048"
                           noCompressionUserAgents="gozilla, traviata"
                           compressableMimeType="text/html,text/xml"
        -->

    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443  (9443)-->
        
    <!--
    <Connector port="8143"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" debug="0" scheme="https"
secure="true"
               clientAuth="false" sslProtocol="TLS" />
    -->

    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector port="8109"
               enableLookups="false" redirectPort="8143" debug="0"
               protocol="AJP/1.3" />
</Server>

Can anyone point me in the right direction?  

Thank you very much for any help you can give.  
Michael Thompson

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message