tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milt Epstein <mepst...@uiuc.edu>
Subject Re: mod_jk stop after 'done found a worker'
Date Wed, 04 Dec 2002 17:05:42 GMT
On Wed, 4 Dec 2002, Geoff Howard wrote:

> SDK 1.4.1_01
> Tomcat 4.1.12-LE binary
> Apache 1.3.27 with ssl/eapi
> mod_jk-1.3-eapi.so (symlinked to mod_jk.so)
> obtained from
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/bin/linux/i386/
> Linux
>
> Tomcat works fine on 8080, Apache works fine on 80.  The server is
> remote (hosting facility) so I'm not using local host.  As DNS is not
> propagated fully, I'm using IP address as ServerName in httpd.conf, and
> in Engine and Host declarations in server.xml.  Accessing
> http://{ipaddress}/examples/ no response in browser (actually it looks
> like 404, but using telnet directly showed literally no response, just
> connection lost.  Below are mod_jk.log, server.xml snippets,
> workers.properties, mod_jk.conf, and httpd.conf include line.
>
> [Wed Dec 04 08:53:09 2002]  [jk_uri_worker_map.c (460)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 04 08:53:09 2002]  [jk_uri_worker_map.c (477)]: Attempting to
> map URI '/examples/'
> [Wed Dec 04 08:53:09 2002]  [jk_uri_worker_map.c (502)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found a context mat
> ch ajp13 -> /examples/
> [Wed Dec 04 08:53:09 2002]  [jk_worker.c (132)]: Into
> wc_get_worker_for_name ajp13
> [Wed Dec 04 08:53:09 2002]  [jk_worker.c (136)]:
> wc_get_worker_for_name, done  found a worker
> [Wed Dec 04 08:55:00 2002]  [jk_uri_worker_map.c (460)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 04 08:55:00 2002]  [jk_uri_worker_map.c (477)]: Attempting to
> map URI '/whm-server-status'
>
> The last two entries are for a different request, two seconds later. So
> it appears that the processing stops after 'found a worker'

>From what I recall when viewing our mod_jk.log, this is the normal
behavior.  It found a worker, it's done its job, it then passes the
request to the worker.  I think you'll have to look at logs further
down the chain (i.e. the tomcat logs) to see what's going wrong.


> -------------
> <Server port="8005" shutdown="SHUTDOWN" debug="0">
> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> jkDebug="debug"/>
> ... (mbeans listeners commented out because of errors at startup)
>
>   <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
>   <!-- <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> commented out
> -->
>     <!-- Define an AJP 1.3 Connector on port 8009 -->
>     <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>                port="8009" minProcessors="5" maxProcessors="75"
>                acceptCount="10" debug="10"/>
> ...
>     <Engine name="Standalone" defaultHost="{ipaddress}" debug="0">
> ...
>       <!-- Define the default virtual host -->
>       <Host name="{ipaddress}" debug="0" appBase="webapps"
>        unpackWARs="true" autoDeploy="true">
> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>           append="true" jkDebug="debug"/
> <Alias>localhost</Alias> <!-- so I can try from lynx - no luck -->
> <Alias>127.0.0.1</Alias>
> ...
> mod_webapp commented out
>
> ----------
> workers.tomcat_home=/opt/tomcat
> workers.java_home=/opt/java
> ps=/
> worker.list=ajp12, ajp13
>
> # Definition for Ajp13 worker
> #
> worker.ajp13.port=8009
> worker.ajp13.host=64.91.232.157
> worker.ajp13.type=ajp13
> ------------
> ########## Auto generated on Wed Dec 04 08:49:31 EST 2002##########
>
> <IfModule !mod_jk.c>
>   LoadModule jk_module libexec/mod_jk.so
> </IfModule>
>
> JkWorkersFile "/opt/tomcat/conf/jk/workers.properties"
> JkLogFile "/opt/tomcat/logs/mod_jk.log"
>
> JkLogLevel debug
>
> <VirtualHost 64.91.232.157>
>     ServerName 64.91.232.157
>     ServerAlias localhost 127.0.0.1
>
>     JkMount /admin ajp13
>     JkMount /admin/* ajp13
>
>     JkMount /webdav ajp13
>     JkMount /webdav/* ajp13
>     JkMount /examples ajp13
>     JkMount /examples/* ajp13
>
>     JkMount /tomcat-docs ajp13
>     JkMount /tomcat-docs/* ajp13
>
>     JkMount /manager ajp13
>     JkMount /manager/* ajp13
> </VirtualHost>
>
> -------
> Include /opt/tomcat/conf/auto/mod_jk.conf
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


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


Mime
View raw message