--- Geoff Howard <[EMAIL PROTECTED]> wrote: > Date: Wed, 4 Dec 2002 08:51:59 -0800 (PST) > From: Geoff Howard <[EMAIL PROTECTED]> > Subject: RE: mod_jk stop after 'done found a worker' > To: Tomcat Users List <[EMAIL PROTECTED]> > > thanks for the reply - just did so with no effect. > > Am I right in interpreting the mod_jk log to mean that Apache has > started it's end of the connector, finds the configured worker, but > then Tomcat is not responding? If so, it seems like some possible > problems are: > 1) VirtualHost mismatches - i've tried to protect against this but am > open to suggestions. > 2) Port communication problems. I can telnet to 8009 using both > localhost and ip address, so that rules that out? > 3) Problem with mod_jk on my config combination? Changing Apache > version is not really practical in my situation, but everything else > is. > > Any more advice? > Geoff Howard > > --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > > > I would delete references to "ajp12" from workers.properties. > > > > John > > > > > -----Original Message----- > > > From: Geoff Howard [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, December 04, 2002 10:41 AM > > > To: [EMAIL PROTECTED] > > > Subject: mod_jk stop after 'done found a worker' > > > > > > > > > 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' > > > ------------- > > > <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:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com >
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
