I'm no expert, but one thing you have different from my configuration is the connector. Mine looks like
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8009" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> I have this vague recollection of someone saying to use CoyoteConnector instead of Ajp13Connector. But, that could just be a random synapse misfire. G. Wade Henry Kwan wrote: > > Hi, I'm trying to setup a Apache/Tomcat test server and am having some > problems. Apache works fine on port 80 and Tomcat works fine on 8080 but I > can't get mod_jk to connect them. I'm running Solaris 8 SPARC and I > compiled Apache from source, grabbed the Tomcat binary, and compiled mod_jk > from source. > > Here's what I have in my httpd.conf: > > LoadModule jk_module libexec/mod_jk.so > ... > <VirtualHost xx.xx.xx.xx> > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /opt/tomcat/jakarta-tomcat/webapps > ServerName tomcat.xxx.com > DirectoryIndex index.htm index.html > <Directory /opt/tomcat/jakarta-tomcat/webapps> > Options Indexes FollowSymLinks > AllowOverride All > </Directory> > ErrorLog /export/home/httpd/logs/tomcat_error > CustomLog /export/home/httpd/logs/tomcat_access common > </VirtualHost> > <IfModule mod_jk.c> > JkWorkersFile "/opt/tomcat/jakarta-tomcat/conf/workers.properties" > JkLogFile "/opt/tomcat/jakarta-tomcat/logs/mod_jk.log" > > JkLogLevel debug > > JkAutoAlias /opt/tomcat/jakarta-tomcat/webapps > JkMount /*.jsp ajp13 > JkMount /*/servlet/ ajp13 > JkMount /examples ajp13 > JkMount /examples/* ajp13 > </IfModule> > > I have this workers.properties setup: > > worker.list=testWorker > worker.testWorker.port=8009 > worker.testWorker.host=localhost > worker.testWorker.type=ajp13 > > And I didn't touch the Connector Classname entry in server.xml: > > <!-- 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="0"/> > > But whenever I try to access any JSP pages via Apache, I get a "500 Internal > Server Error" with these entries in the mod_jk.log: > > [Fri Aug 15 12:51:57 2003] [jk_uri_worker_map.c (460)]: Into > jk_uri_worker_map_t::map_uri_to_worker > [Fri Aug 15 12:51:57 2003] [jk_uri_worker_map.c (477)]: Attempting to map > URI '/examples/jsp/index.html' > [Fri Aug 15 12:51:57 2003] [jk_uri_worker_map.c (502)]: > jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> > /examples/ > [Fri Aug 15 12:51:57 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name > ajp13 > [Fri Aug 15 12:51:57 2003] [jk_worker.c (136)]: wc_get_worker_for_name, > done did not found a worker > > Any ideas or tips would be greatly appreciated. > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]