Stephen Ng wrote: > Just found the answer to my first question: the improved http/1.1 > connector is in Tomcat 4.04: > > [B2] Coyote: This release include a completely new HTTP/1.1 connector > and connector API, called Coyote. This connector provides much > improved performance and robustness over the default HTTP/1.1 connector. > > >> Date: Thu, 05 Sep 2002 22:23:04 -0400 >> To: [EMAIL PROTECTED] >> From: Stephen Ng <[EMAIL PROTECTED]> >> Subject: tuning >> >> I've been reading through the performance tuning tips and have a >> couple of questions and comments. >> >> - For optimum performance with Tomcat 4 and Cocoon 2, use the >> HTTP/1.0 connector. >> >> This appears to be due to a bug which has been fixed. >> >> See: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4083. Was >> this a bug in Tomcat or Cocoon? If Tomcat, what version of Tomcat >> was it fixed in? >> >> - Set the -Xnoclassgc parameter on the Sun JDK 1.3.1! >> >> I believe the argument should be -noclassgc. >> >> - disable resource reloading >> >> I understand I'm supposed to toggle <parameter name="auto-reload" >> value="true"/>. But what exactly does this do? Does it stop >> checking the timestamp of resource files before loading them? What >> do I give up if I turn this on? (The option isn't documented in the >> latest cocoon.xconf.) >
I think this means: <Context path="/cocoon" docBase="..." debug="0" reloadable="false"/> in the Tomcat's server.xml. If you change <program-generator logger="core.program-generator"> <parameter name="auto-reload" value="true"/> to false, this will disable XSP reloading. And, <sitemap class="org.apache.cocoon.sitemap.SitemapManager" file="sitemap.xmap" reload-method="synchron" check-reload="no" logger="sitemap"/> will disable sitemap reloading. Vadim >> Thanks, >> >> Steve > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>