> -----Original Message----- > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 23, 2002 11:16 AM > To: 'Tomcat Users List' > Subject: RE: Mod_jk - won't execute jsp or servlets > > Hello :) > > Here is the content of my workers.properties file: worker.list=worker1 > worker.worker1.type=ajp13 worker.worker1.host=www.ptpweb.com > worker.worker1.port=8009 > > In my server.xml file I have left everything as the defaults. Right now > there are only two connectors that are NOT commented out and those are > <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --> > <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" > port="8080" minProcessors="5" maxProcessors="75" > enableLookups="true" redirectPort="8443" > acceptCount="100" debug="0" connectionTimeout="20000" > useURIValidationHack="false" disableUploadTimeout="true" /> > > <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --> > <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" > port="8009" minProcessors="5" maxProcessors="75" > enableLookups="true" redirectPort="8443" > acceptCount="10" debug="0" connectionTimeout="0" > useURIValidationHack="false" > > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> > > Could this be my problem? I attached my server.xml file just to be > sure if there was anything else to check for... [ ... ]
These look OK as far as my understanding of these things go (it's the second Connector tag above that's the relevant one). There is one thing odd that might be worthy of investigating, though. That's having the connectionTimeout be 0. Did it come that way, or did you set it to that yourself? By my reading of the docs (which are a bit confusing on this point), that'll cause it to timeout every time; a setting of -1 is what disables it, if that's what you wanted to do. Or you could set it to 20000 like the Coyote Http Connector above it. Or leave it blank, which means it would use the default (60000). Anyway, it should be a relatively simple matter to try it with a different value (restarting Tomcat, of course) and seeing if it makes a difference. (You can also try setting the host value to localhost in workers.properties, as someone else suggested -- that will require restarting Apache.) Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
