funkman     2003/06/23 19:07:02

  Modified:    xdocs-faq version.xml misc.xml connectors.xml
                        classnotfound.xml
               docs/faq version.html misc.html connectors.html
                        classnotfound.html
               docs/faq/printer version.html misc.html connectors.html
                        classnotfound.html
  Log:
  FAQ update, added questions:
  - When is the next release?
  - Tagpool.release
  - jk2 link
  - java.lang.NoClassDefFoundError help
  - Fixed minor formatting
  
  In my diff - lots of html showed as changed - not sure why yet. Sorry
  for the big email commit message.
  
  Revision  Changes    Path
  1.2       +22 -3     jakarta-tomcat-site/xdocs-faq/version.xml
  
  Index: version.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/xdocs-faq/version.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- version.xml       12 Jun 2003 00:31:14 -0000      1.1
  +++ version.xml       24 Jun 2003 02:07:01 -0000      1.2
  @@ -25,9 +25,17 @@
   <section name="Questions">
     <ul>
   
  -     <li><a href="#which">
  -        Which tomcat version should I use?
  -         </a> </li>
  +     <li>
  +       <a href="#which">
  +         Which tomcat version should I use?
  +       </a>
  +     </li>
  +
  +     <li>
  +       <a href="#when">
  +        When will the next version be released?
  +       </a>
  +      </li>
   
     </ul>
   </section>
  @@ -66,6 +74,17 @@
         tomcat home page </a> should have the correct recommendation.
       </answer>
   
  +
  +    <question>
  +      <a name="when">
  +        When will the next version be released?
  +      </a>
  +    </question>
  +    <answer>
  +      <a 
href="http://marc.theaimsgroup.com/?l=tomcat-user&amp;m=102351104906437&amp;w=2";>
  +        When it is ready.
  +      </a>
  +    </answer>
   
   </section>
   
  
  
  
  1.2       +21 -2     jakarta-tomcat-site/xdocs-faq/misc.xml
  
  Index: misc.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/xdocs-faq/misc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- misc.xml  12 Jun 2003 00:31:14 -0000      1.1
  +++ misc.xml  24 Jun 2003 02:07:01 -0000      1.2
  @@ -111,7 +111,11 @@
           from a servlet? (or jsp)
         </a>
       </li>
  -
  +    <li>
  +      <a href="#tagbroken">
  +        Is tag pooling broken? It doesn't call release!
  +      </a>
  +    </li>
     </ul>
   </p>
   
  @@ -312,7 +316,7 @@
   
   
     <question>
  -    <a name="properties">
  +    <a name="error">
         How do I get a customized error page?
       </a>
     </question>
  @@ -473,6 +477,21 @@
        header.
     </answer>
   
  +
  +
  +  <question>
  +      <a name="#tagbroken">
  +        Is tag pooling broken? It doesn't call release!
  +      </a>
  +  </question>
  +  <answer>
  +    It is not broken, your tag probably is. Many bug reports
  +    have been filed about this.
  +     <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16001";>
  +        Here
  +     </a>
  +    is the bug report with all the gory details.
  +  </answer>
   
   
   
  
  
  
  1.2       +6 -0      jakarta-tomcat-site/xdocs-faq/connectors.xml
  
  Index: connectors.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/xdocs-faq/connectors.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- connectors.xml    12 Jun 2003 00:31:14 -0000      1.1
  +++ connectors.xml    24 Jun 2003 02:07:01 -0000      1.2
  @@ -58,6 +58,12 @@
       </a>
     </li>
   
  +  <li>[link]
  +    <a href="http://www.greenfieldresearch.ca/technical/jk2_config.html";>
  +       Tomcat-Apache using JK2 connector
  +    </a>
  +  </li>
  +
     <li>[thread]
       <a href="http://marc.theaimsgroup.com/?t=104040058200004&amp;r=1&amp;w=2";>
         Configuring mod_jk - Again!
  
  
  
  1.2       +20 -0     jakarta-tomcat-site/xdocs-faq/classnotfound.xml
  
  Index: classnotfound.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/xdocs-faq/classnotfound.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- classnotfound.xml 12 Jun 2003 00:31:14 -0000      1.1
  +++ classnotfound.xml 24 Jun 2003 02:07:01 -0000      1.2
  @@ -62,6 +62,9 @@
           </a>
         </li>
       </ul>
  +    If you get a
  +    <code>NoClassDefFoundError</code> exception, the root might be the
  +    same reason as a <code>ClassNotFound</code> exception.
   </section>
   
   <section name="Questions">
  @@ -76,6 +79,11 @@
           javax/servlet/Filter</code>
           </a>
        </li>
  +    <li>
  +      <a href="#xml">
  +        Why do I get <code>NoClassDefFoundError: org/xml/sax/InputSource</code>?
  +        </a>
  +     </li>
     </ul>
   </p>
   </section>
  @@ -115,6 +123,18 @@
       This really messes up the classloaders since Tomcat's classloaders
       don't act quite as normal as one expects (see links above). servlet.jar
       should only be found only once in $CATALINA_HOME/common/lib.
  +    </answer>
  +
  +
  +    <question>
  +     <a name="xml">
  +       Why do I get <code>java.lang.NoClassDefFoundError:
  +       org/xml/sax/InputSource</code>
  +     </a>
  +    </question>
  +    <answer>
  +    You have conflicting XML api jar files in your classpath. Read the
  +    README or RELEASE-NOTES for more information.
       </answer>
   
   
  
  
  
  1.3       +76 -57    jakarta-tomcat-site/docs/faq/version.html
  
  Index: version.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/version.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- version.html      17 Jun 2003 21:56:45 -0000      1.2
  +++ version.html      24 Jun 2003 02:07:01 -0000      1.3
  @@ -1,58 +1,77 @@
  -<html><head><META http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"><title>Tomcat FAQ - Which Version</title><meta value="Tim Funk" 
name="author"><meta value="[EMAIL PROTECTED]" name="email"><style>
  -      dt { font-size : larger;  font-weight : bold }
  -      dd {padding-bottom : 10px;}
  -    </style></head><body vlink="#525D76" alink="#525D76" link="#525D76" 
text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" 
border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a 
href="http://jakarta.apache.org/";><img border="0" alt="The Jakarta Project" 
align="left" src="http://jakarta.apache.org//images/jakarta-logo.gif";></a><!--PROJECT 
LOGO--><a href="http://jakarta.apache.org/tomcat/";><img border="0" alt="
  -      Tomcat FAQ
  -    " align="right" src="../images/tomcat.gif"></a></td></tr><!--HEADER 
SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><!--LEFT SIDE 
NAVIGATION--><td nowrap="true" valign="top" 
width="20%"><p><strong>Links</strong></p><ul><li><a href="..">Tomcat 
Home</a></li><li><a href="index.html">FAQ 
Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a 
href="bugs.html">Bugs</a></li><li><a href="classnotfound.html">Class Not 
Found</a></li><li><a href="connectors.html">Connectors</a></li><li><a 
href="database.html">Database</a></li><li><a href="howto.html">How do I</a></li><li><a 
href="unix.html">Linux / Unix</a></li><li><a href="memory.html">Memory</a></li><li><a 
href="meta.html">Meta</a></li><li><a href="misc.html">Miscellaneous</a></li><li><a 
href="performance.html">Monitoring / Performance</a></li><li><a 
href="links.html">Other Resources</a></li><li><a 
href="security.html">Security</a></li><li><a href="version.html">Which 
Version</a></li><li><a href="tomcatuser.html">Tomcat User List</a></li><li><a 
href="windows.html">Windows</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td 
align="left" valign="top" width="80%"><table cellspacing="4" width="100%" 
border="0"><tr><td nowrap="true" valign="top" align="left"><h1>Tomcat 
FAQ</h1><h2>Which Version</h2></td><td nowrap="true" valign="top" 
align="right"><small><a href="printer/version.html"><img alt="Printer Friendly 
Version" border="0" src="../images/printer.gif"><br>print-friendly<br>version
  -                    </a></small></td></tr></table><table cellpadding="2" 
cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font 
face="arial,helvetica.sanserif" color="#ffffff"><a 
name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>
  -  <p>
  -    This page discusses the differences between the different tomcat versions.
  -    If you
  -    want to know more about which connetor to use, see the
  -    <a href="connectors.html">connectors</a> section.
  -  </p>
  -</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
  -  <ul>
  -
  -     <li><a href="#which">
  -        Which tomcat version should I use?
  -         </a> </li>
  -
  -  </ul>
  -</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  -
  -    <b style="font-size: larger">
  -      <a name="which">Which tomcat version should I use?</a>
  -    </b>
  -    <div style="padding-left : 20px;">
  -    It depends on the version of the
  -    <a href="http://java.sun.com/products/servlet/";>Servlet API</a> you need.
  -
  -    <ul>
  -     <li>Tomcat 3 supports the 2.2 API</li>
  -     <li>Tomcat 4 supports the 2.3 API</li>
  -     <li>Tomcat 5 supports the 2.4 API</li>
  -    </ul>
  -
  -     Tomcat 5 is alpha quality. It isn't ready for production.
  -    <br><br>
  -
  -     There are 2 flavors of Tomcat 4, 4.0.X and 4.1.X. The 4.1.x version is
  -     still slowly receiving new enhancements but this
  -     trend is subsiding while more attention is made on Tomcat5.
  -     Version 4.0.X is only recieving security fixes. Both (4.0 and 4.1)
  -     are suitable for production. (YMMV).
  -     Version 4.1.X is significantly faster than 4.0.X.
  -    <br><br>
  -
  -     Tomcat 3 I know nothing about with respect to performance and
  -     maintenance. AFAIK - it
  -     is still receiving security fixes. The
  -     <a href="http://jakarta.apache.org/tomcat/";>
  -      tomcat home page </a> should have the correct recommendation.
  -    </div><br>
  -
  -
  -</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
  -        Copyright &copy; 1999-2003, Apache Software Foundation
  +<html><head><META http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"><title>Tomcat FAQ - Which Version</title><meta value="Tim Funk" 
name="author"><meta value="[EMAIL PROTECTED]" name="email"><style>
  +      dt { font-size : larger;  font-weight : bold }
  +      dd {padding-bottom : 10px;}
  +    </style></head><body vlink="#525D76" alink="#525D76" link="#525D76" 
text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" 
border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a 
href="http://jakarta.apache.org/";><img border="0" alt="The Jakarta Project" 
align="left" src="http://jakarta.apache.org//images/jakarta-logo.gif";></a><!--PROJECT 
LOGO--><a href="http://jakarta.apache.org/tomcat/";><img border="0" alt="
  +      Tomcat FAQ
  +    " align="right" src="../images/tomcat.gif"></a></td></tr><!--HEADER 
SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><!--LEFT SIDE 
NAVIGATION--><td nowrap="true" valign="top" 
width="20%"><p><strong>Links</strong></p><ul><li><a href="..">Tomcat 
Home</a></li><li><a href="index.html">FAQ 
Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a 
href="bugs.html">Bugs</a></li><li><a href="classnotfound.html">Class Not 
Found</a></li><li><a href="connectors.html">Connectors</a></li><li><a 
href="database.html">Database</a></li><li><a href="howto.html">How do I</a></li><li><a 
href="unix.html">Linux / Unix</a></li><li><a href="memory.html">Memory</a></li><li><a 
href="meta.html">Meta</a></li><li><a href="misc.html">Miscellaneous</a></li><li><a 
href="performance.html">Monitoring / Performance</a></li><li><a 
href="links.html">Other Resources</a></li><li><a 
href="security.html">Security</a></li><li><a href="version.html">Which 
Version</a></li><li><a href="tomcatuser.html">Tomcat User List</a></li><li><a 
href="windows.html">Windows</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td 
align="left" valign="top" width="80%"><table cellspacing="4" width="100%" 
border="0"><tr><td nowrap="true" valign="top" align="left"><h1>Tomcat 
FAQ</h1><h2>Which Version</h2></td><td nowrap="true" valign="top" 
align="right"><small><a href="printer/version.html"><img alt="Printer Friendly 
Version" border="0" src="../images/printer.gif"><br>print-friendly<br>version
  +                    </a></small></td></tr></table><table cellpadding="2" 
cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font 
face="arial,helvetica.sanserif" color="#ffffff"><a 
name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>
  +  <p>
  +    This page discusses the differences between the different tomcat versions.
  +    If you
  +    want to know more about which connetor to use, see the
  +    <a href="connectors.html">connectors</a> section.
  +  </p>
  +</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
  +  <ul>
  +
  +     <li>
  +       <a href="#which">
  +         Which tomcat version should I use?
  +       </a>
  +     </li>
  +
  +     <li>
  +       <a href="#when">
  +        When will the next version be released?
  +       </a>
  +      </li>
  +
  +  </ul>
  +</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  +
  +    <b style="font-size: larger">
  +      <a name="which">Which tomcat version should I use?</a>
  +    </b>
  +    <div style="padding-left : 20px;">
  +    It depends on the version of the
  +    <a href="http://java.sun.com/products/servlet/";>Servlet API</a> you need.
  +
  +    <ul>
  +     <li>Tomcat 3 supports the 2.2 API</li>
  +     <li>Tomcat 4 supports the 2.3 API</li>
  +     <li>Tomcat 5 supports the 2.4 API</li>
  +    </ul>
  +
  +     Tomcat 5 is alpha quality. It isn't ready for production.
  +    <br><br>
  +
  +     There are 2 flavors of Tomcat 4, 4.0.X and 4.1.X. The 4.1.x version is
  +     still slowly receiving new enhancements but this
  +     trend is subsiding while more attention is made on Tomcat5.
  +     Version 4.0.X is only recieving security fixes. Both (4.0 and 4.1)
  +     are suitable for production. (YMMV).
  +     Version 4.1.X is significantly faster than 4.0.X.
  +    <br><br>
  +
  +     Tomcat 3 I know nothing about with respect to performance and
  +     maintenance. AFAIK - it
  +     is still receiving security fixes. The
  +     <a href="http://jakarta.apache.org/tomcat/";>
  +      tomcat home page </a> should have the correct recommendation.
  +    </div><br>
  +
  +
  +    <b style="font-size: larger">
  +      <a name="when">
  +        When will the next version be released?
  +      </a>
  +    </b>
  +    <div style="padding-left : 20px;">
  +      <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=102351104906437&w=2";>
  +        When it is ready.
  +      </a>
  +    </div><br>
  +
  +</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
  +        Copyright &copy; 1999-2003, Apache Software Foundation
           </em></font></div></td></tr></table></body></html>
  
  
  
  1.3       +484 -465  jakarta-tomcat-site/docs/faq/misc.html
  
  Index: misc.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/misc.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- misc.html 17 Jun 2003 21:56:45 -0000      1.2
  +++ misc.html 24 Jun 2003 02:07:02 -0000      1.3
  @@ -1,466 +1,485 @@
  -<html><head><META http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"><title>Tomcat FAQ - Miscellaneous Questions</title><meta 
value="Tim Funk" name="author"><meta value="[EMAIL PROTECTED]" name="email"><style>
  -      dt { font-size : larger;  font-weight : bold }
  -      dd {padding-bottom : 10px;}
  -    </style></head><body vlink="#525D76" alink="#525D76" link="#525D76" 
text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" 
border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a 
href="http://jakarta.apache.org/";><img border="0" alt="The Jakarta Project" 
align="left" src="http://jakarta.apache.org//images/jakarta-logo.gif";></a><!--PROJECT 
LOGO--><a href="http://jakarta.apache.org/tomcat/";><img border="0" alt="
  -      Tomcat FAQ
  -    " align="right" src="../images/tomcat.gif"></a></td></tr><!--HEADER 
SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><!--LEFT SIDE 
NAVIGATION--><td nowrap="true" valign="top" 
width="20%"><p><strong>Links</strong></p><ul><li><a href="..">Tomcat 
Home</a></li><li><a href="index.html">FAQ 
Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a 
href="bugs.html">Bugs</a></li><li><a href="classnotfound.html">Class Not 
Found</a></li><li><a href="connectors.html">Connectors</a></li><li><a 
href="database.html">Database</a></li><li><a href="howto.html">How do I</a></li><li><a 
href="unix.html">Linux / Unix</a></li><li><a href="memory.html">Memory</a></li><li><a 
href="meta.html">Meta</a></li><li><a href="misc.html">Miscellaneous</a></li><li><a 
href="performance.html">Monitoring / Performance</a></li><li><a 
href="links.html">Other Resources</a></li><li><a 
href="security.html">Security</a></li><li><a href="version.html">Which 
Version</a></li><li><a href="tomcatuser.html">Tomcat User List</a></li><li><a 
href="windows.html">Windows</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td 
align="left" valign="top" width="80%"><table cellspacing="4" width="100%" 
border="0"><tr><td nowrap="true" valign="top" align="left"><h1>Tomcat 
FAQ</h1><h2>Miscellaneous Questions</h2></td><td nowrap="true" valign="top" 
align="right"><small><a href="printer/misc.html"><img alt="Printer Friendly Version" 
border="0" src="../images/printer.gif"><br>print-friendly<br>version
  -                    </a></small></td></tr></table><table cellpadding="2" 
cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font 
face="arial,helvetica.sanserif" color="#ffffff"><a 
name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>
  -<p>
  -Questions that were not catagorized.
  -</p>
  -</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
  -<p>
  -  <ul>
  -    <li>
  -      <a href="#compile">
  -        I am unable to compile my JSP!
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#invoker">
  -        I can't get servlets to work under <code>/servlet/*</code>!
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#evil">
  -        Why is the invoker evil?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#version">
  -        How to I get Tomcat's version number?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#cpu">
  -        Tomcat eats 100% of the CPU!
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#properties">
  -        How do I set system properties at startup?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#error">
  -        How do I get a customized error page?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#le">
  -        Should I use the LE version?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#persist">
  -        How do I configure Tomcat to NOT to store the sessions during shutdown?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#tagpool">
  -        How do I disable tag pooling?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#dtd">
  -        Is there a DTD for server.xml?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#welcome">
  -        How do I change the welcome file?
  -            (I want to show index.jsp instead of index.html)
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#listing">
  -        How do I enable/disable directoty listings?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#ip">
  -        How do I make Tomcat listen on a specific IP
  -            address instead of all available addresses?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#symlink">
  -        How do I use symbolic links with jars?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#utf8">
  -        How do I get UTF-8?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#saveas">
  -        How do I change the name of the file in the download Save-As dialog
  -        from a servlet? (or jsp)
  -      </a>
  -    </li>
  -
  -  </ul>
  -</p>
  -
  -</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  -
  -  <b style="font-size: larger">
  -    <a name="compile">I am unable to compile my JSP!</a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    Are you seeing this?
  -    <pre>
  -      org.apache.jasper.JasperException: Unable to compile
  -      class for JSP
  -
  -      An error occurred at line: -1 in the jsp file: null
  -
  -      Generated servlet error:
  -          [javac] Since fork is true, ignoring compiler
  -      setting.
  -          [javac] Compiling 1 source file
  -         [javac] Since fork is true, ignoring compiler
  -      setting.
  -
  -    </pre>
  -
  -    If so, here is some solutions:
  -    <ul>
  -      <li>
  -        <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=104949554010352&w=2";>
  -          Environment variable issue
  -        </a>
  -      </li>
  -      <li>
  -        <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16688";>
  -            Environment issue
  -        </a>
  -        or
  -        <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20527";>
  -            Ant issue
  -        </a>
  -      </li>
  -      <li>
  -        Others have had success by added JAVA_HOME/bin to their PATH.
  -        <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105525594928279&w=2";>
  -            1
  -        </a>
  -
  -        ...
  -
  -        <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105526353505541&w=2";>
  -            2
  -        </a>
  -      </li>
  -     </ul>
  -
  -    In the case of the Environment issues, it is typical that on Windows, the
  -    startup scripts work fine and the service does not. The service uses
  -    registry values to look for java and other "stuff". To save yourself some
  -    trouble, see if the
  -    <a href="http://web.bvu.edu/staff/david/tcservcfg/";>
  -                NT Service Config Utility
  -    </a> is helpful.
  -    </div><br>
  -
  -
  -    <b style="font-size: larger">
  -      <a name="invoker">
  -        I can't get servlets to work under <code>/servlet/*</code>!
  -      </a>
  -    </b>
  -    <div style="padding-left : 20px;">
  -        Using <code>/servlet/</code> to map servlets is evil, absolutely evil.
  -        Even more evil than
  -        <a href="http://www.eviloverlord.com/lists/overlord.html";>
  -          this
  -        </a>.
  -
  -        That being said, here are some threads that may answer this:
  -        <ul>
  -          <li>
  -            <a 
href="http://marc.theaimsgroup.com/?l=tomcat-user&m=103417249925541&w=2";>
  -              [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability
  -            </a>
  -          </li>
  -          <li>
  -            <a href="http://marc.theaimsgroup.com/?t=103945337100003&r=1&w=2";>
  -              Cannot Run Servlets, only JSP's, Part II
  -            </a>
  -          </li>
  -          <li>
  -            <a href="http://marc.theaimsgroup.com/?t=104326854100001&r=1&w=2";>
  -              Tomcat configuration problem: JSPs work, servlets don
  -            </a>
  -          </li>
  -        </ul>
  -    </div><br>
  -
  -
  -  <b style="font-size: larger">
  -    <a name="evil">Why is the invoker evil?</a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    <i>This is opinions of the writer (YMMV)</i> <br>
  -    <em>Quickie about the invoker:</em> The invoker is a dynamic servlet which
  -    allows run-time
  -    loading of other servlets based on class name. This servlet is the one
  -    that allows
  -    <code>http://localhost/servlet/com.foo.MyClass?more=cowbell</code>, where
  -    <code>com.foo.MyClass</code> is some class which can be loaded as
  -    a servlet but was never explicitly declared in a config file.
  -
  -    <br><br>
  -
  -    Evil because
  -    <ul>
  -      <li>Security risk ... see links above</li>
  -      <li>
  -        Configuration hiding - There is NO way to determine which servlets are
  -        used vs which are not used. In web.xml, every servlet is declared
  -        and mapped.
  -        In that one file you instantly have a road map to how the app works.
  -      </li>
  -      <li>
  -        Back doors. Servlets which <b>are</b> mapped can be alternately
  -        called via the
  -        invoker by class name. Since the URL is different, all security
  -        constraints might be ignored since the URL pattern is VERY different.
  -      </li>
  -      <li>
  -        Back doors. Bad programmers make it easier to do bad things.
  -      </li>
  -      <li>
  -        Back doors. It may be common to use common 3rd party jars in a
  -        shared area. If that shared jar has servlets in them and that servlet
  -        has a hole in it, bad things happen.
  -      </li>
  -      <li>
  -        Configuration hiding - its important enough to say twice. Explicit
  -        declaration while a PITA, will be more helpful in the maintenance
  -        scheme of your app.
  -      </li>
  -    </ul>
  -  </div><br>
  -
  -
  -  <b style="font-size: larger">
  -    <a name="version">How to I get Tomcat's version number?</a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    <code>javax.servlet.ServletContext.getServerInfo();</code>
  -  </div><br>
  -
  -  <b style="font-size: larger">
  -    <a name="cpu">Tomcat eats 100% of the CPU!</a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    Odds are, it might be the garbage collector going wacky. <br><br>
  -
  -    In 1.4.1 JVMs there is a memory leak which could hampering the
  -    garbage collector.
  -    <a href="http://developer.java.sun.com/developer/bugParade/bugs/4724129.html";>
  -       More information
  -    </a>
  -
  -    Otherwise - get a memory profiler and/or tweak your memory settings.
  -  </div><br>
  -
  -
  -
  -  <b style="font-size: larger">
  -    <a name="properties">
  -        How do I set system properties at startup?
  -    </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    Set <code>JAVA_OPTS</code> to be something BEFORE calling startup.bat
  -    or before calling catalina.bat. (or you can edit those files, but it
  -    isn't advised)
  -
  -    <br><br>
  -
  -    <em>Example (windows): </em>
  -    <code>SET JAVA_OPTS='-DpropName=propValue'</code>
  -    <br><br>
  -
  -    <em>Example (unix): </em>
  -    <code>export JAVA_OPTS='-DpropName=propValue'</code>
  -
  -    <br><br>
  -
  -    Windows service users -
  -            <a href="http://web.bvu.edu/staff/david/tcservcfg/";>
  -             use this</a>
  -  </div><br>
  -
  -
  -  <b style="font-size: larger">
  -    <a name="properties">
  -      How do I get a customized error page?
  -    </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    In web.xml ...
  -    <pre>
  -        &lt;error-page&gt;
  -            &lt;error-code&gt;404&lt;/error-code&gt;
  -            &lt;location&gt;/error/404.html&lt;/location&gt;
  -        &lt;/error-page&gt;
  -    </pre>
  -
  -    For more information, see the Servlet Specification for all the gory
  -    details of how you can play with this.
  -  </div><br>
  -
  -
  -  <b style="font-size: larger">
  -    <a name="le">Should I use the LE version?</a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    No. It was an experiment, it failed. (YMMV) The original purpose
  -    of LE was because jdk1.4 provides a LOT of standard functionality
  -    that Tomcat uses that was not in jdk 1.3. So to save some space
  -    two distributions were made to save some bandwidth. Since then,
  -    it has been an exercise in confusion. (Flame me if you disagree)
  -    <a href="http://marc.theaimsgroup.com/?l=tomcat-user&=105341005928071&w=2";>
  -        More info
  -    </a>
  -  </div><br>
  -
  -
  -
  -  <b style="font-size: larger">
  -    <a name="persist">
  -      How do I configure Tomcat to NOT to store the sessions during shutdown?
  -    </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html";>
  -        Look at the Session manager component and tweak accordingly.
  -    </a>
  -  </div><br>
  -
  -
  -
  -  <b style="font-size: larger">
  -    <a name="tagpool">
  -      How do I disable tag pooling?
  -    </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    To disable tag pooling:
  -    See $TOMCAT_HOME/conf/web.xml --&gt; enablePooling=false for the jsp servlet
  -    declaration.
  -  </div><br>
  -
  -
  -
  -  <b style="font-size: larger">
  -      <a name="dtd">
  -        Is there a DTD for server.xml?
  -      </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    No! Nor can one accurately exist.
  -    <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=104205666221372&w=2";>
  -       Here's why
  -    </a>
  -  </div><br>
  -
  -
  -  <b style="font-size: larger">
  -      <a name="welcome">
  -        How do I change the welcome file? (
  -                I want to show index.jsp instead of index.html)
  -      </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    This is done in web.xml by changing <code>welcome-files-list</code>.
  -    <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=104566785828794&w=2";>
  -      More detail.
  -    </a>
  -  </div><br>
  -
  -
  -  <b style="font-size: larger">
  -      <a name="listing">
  -        How do I enable/disable directoty listings?
  -      </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    This is done in TOMCAT_HOME/conf/web.xml by changing <code>listings</code>
  -    property for the <code>default</code> servlet.
  -  </div><br>
  -
  -
  -  <b style="font-size: larger">
  -      <a name="ip">
  -        How do I make Tomcat listen on a specific IP
  -            address instead of all available addresses?
  -      </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -     RTFM! [Add the property <code>address='127.0.0.1'</code>
  -     to your Connector config.]
  -     For more detail:
  -     <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html";>
  -        JK</a>,
  -     <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/http11.html";>
  -        http</a> (legacy),
  -     <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html";>
  -        http</a> (coyote).
  -  </div><br>
  -
  -
  -
  -  <b style="font-size: larger">
  -      <a name="symlink">
  -        How do I use symbolic links with jars?
  -      </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    You'll need to treak with server.xml and
  -     <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105159411609623&w=2";>
  -         do this.
  -     </a> (Don't worry - its really easy!)
  -  </div><br>
  -
  -
  -
  -  <b style="font-size: larger">
  -      <a name="utf8">
  -        How do I get UTF-8?
  -      </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    This
  -     <a href="http://marc.theaimsgroup.com/?t=105524444400002&r=1&w=2";>
  -         thread
  -     </a>
  -     should answer that.
  -  </div><br>
  -
  -
  -
  -  <b style="font-size: larger">
  -      <a name="#saveas">
  -        How do I change the name of the file in the download Save-As dialog
  -        from a servlet? (or jsp)
  -      </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    Use the
  -     <a href="http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html";>
  -         Content-Disposition
  -     </a>
  -     header.
  -  </div><br>
  -
  -
  -
  -
  -</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
  -        Copyright &copy; 1999-2003, Apache Software Foundation
  +<html><head><META http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"><title>Tomcat FAQ - Miscellaneous Questions</title><meta 
value="Tim Funk" name="author"><meta value="[EMAIL PROTECTED]" name="email"><style>
  +      dt { font-size : larger;  font-weight : bold }
  +      dd {padding-bottom : 10px;}
  +    </style></head><body vlink="#525D76" alink="#525D76" link="#525D76" 
text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" 
border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a 
href="http://jakarta.apache.org/";><img border="0" alt="The Jakarta Project" 
align="left" src="http://jakarta.apache.org//images/jakarta-logo.gif";></a><!--PROJECT 
LOGO--><a href="http://jakarta.apache.org/tomcat/";><img border="0" alt="
  +      Tomcat FAQ
  +    " align="right" src="../images/tomcat.gif"></a></td></tr><!--HEADER 
SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><!--LEFT SIDE 
NAVIGATION--><td nowrap="true" valign="top" 
width="20%"><p><strong>Links</strong></p><ul><li><a href="..">Tomcat 
Home</a></li><li><a href="index.html">FAQ 
Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a 
href="bugs.html">Bugs</a></li><li><a href="classnotfound.html">Class Not 
Found</a></li><li><a href="connectors.html">Connectors</a></li><li><a 
href="database.html">Database</a></li><li><a href="howto.html">How do I</a></li><li><a 
href="unix.html">Linux / Unix</a></li><li><a href="memory.html">Memory</a></li><li><a 
href="meta.html">Meta</a></li><li><a href="misc.html">Miscellaneous</a></li><li><a 
href="performance.html">Monitoring / Performance</a></li><li><a 
href="links.html">Other Resources</a></li><li><a 
href="security.html">Security</a></li><li><a href="version.html">Which 
Version</a></li><li><a href="tomcatuser.html">Tomcat User List</a></li><li><a 
href="windows.html">Windows</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td 
align="left" valign="top" width="80%"><table cellspacing="4" width="100%" 
border="0"><tr><td nowrap="true" valign="top" align="left"><h1>Tomcat 
FAQ</h1><h2>Miscellaneous Questions</h2></td><td nowrap="true" valign="top" 
align="right"><small><a href="printer/misc.html"><img alt="Printer Friendly Version" 
border="0" src="../images/printer.gif"><br>print-friendly<br>version
  +                    </a></small></td></tr></table><table cellpadding="2" 
cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font 
face="arial,helvetica.sanserif" color="#ffffff"><a 
name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>
  +<p>
  +Questions that were not catagorized.
  +</p>
  +</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
  +<p>
  +  <ul>
  +    <li>
  +      <a href="#compile">
  +        I am unable to compile my JSP!
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#invoker">
  +        I can't get servlets to work under <code>/servlet/*</code>!
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#evil">
  +        Why is the invoker evil?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#version">
  +        How to I get Tomcat's version number?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#cpu">
  +        Tomcat eats 100% of the CPU!
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#properties">
  +        How do I set system properties at startup?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#error">
  +        How do I get a customized error page?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#le">
  +        Should I use the LE version?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#persist">
  +        How do I configure Tomcat to NOT to store the sessions during shutdown?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#tagpool">
  +        How do I disable tag pooling?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#dtd">
  +        Is there a DTD for server.xml?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#welcome">
  +        How do I change the welcome file?
  +            (I want to show index.jsp instead of index.html)
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#listing">
  +        How do I enable/disable directoty listings?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#ip">
  +        How do I make Tomcat listen on a specific IP
  +            address instead of all available addresses?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#symlink">
  +        How do I use symbolic links with jars?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#utf8">
  +        How do I get UTF-8?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#saveas">
  +        How do I change the name of the file in the download Save-As dialog
  +        from a servlet? (or jsp)
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#tagbroken">
  +        Is tag pooling broken? It doesn't call release!
  +      </a>
  +    </li>
  +  </ul>
  +</p>
  +
  +</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  +
  +  <b style="font-size: larger">
  +    <a name="compile">I am unable to compile my JSP!</a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    Are you seeing this?
  +    <pre>
  +      org.apache.jasper.JasperException: Unable to compile
  +      class for JSP
  +
  +      An error occurred at line: -1 in the jsp file: null
  +
  +      Generated servlet error:
  +          [javac] Since fork is true, ignoring compiler
  +      setting.
  +          [javac] Compiling 1 source file
  +         [javac] Since fork is true, ignoring compiler
  +      setting.
  +
  +    </pre>
  +
  +    If so, here is some solutions:
  +    <ul>
  +      <li>
  +        <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=104949554010352&w=2";>
  +          Environment variable issue
  +        </a>
  +      </li>
  +      <li>
  +        <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16688";>
  +            Environment issue
  +        </a>
  +        or
  +        <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20527";>
  +            Ant issue
  +        </a>
  +      </li>
  +      <li>
  +        Others have had success by added JAVA_HOME/bin to their PATH.
  +        <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105525594928279&w=2";>
  +            1
  +        </a>
  +
  +        ...
  +
  +        <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105526353505541&w=2";>
  +            2
  +        </a>
  +      </li>
  +     </ul>
  +
  +    In the case of the Environment issues, it is typical that on Windows, the
  +    startup scripts work fine and the service does not. The service uses
  +    registry values to look for java and other "stuff". To save yourself some
  +    trouble, see if the
  +    <a href="http://web.bvu.edu/staff/david/tcservcfg/";>
  +                NT Service Config Utility
  +    </a> is helpful.
  +    </div><br>
  +
  +
  +    <b style="font-size: larger">
  +      <a name="invoker">
  +        I can't get servlets to work under <code>/servlet/*</code>!
  +      </a>
  +    </b>
  +    <div style="padding-left : 20px;">
  +        Using <code>/servlet/</code> to map servlets is evil, absolutely evil.
  +        Even more evil than
  +        <a href="http://www.eviloverlord.com/lists/overlord.html";>
  +          this
  +        </a>.
  +
  +        That being said, here are some threads that may answer this:
  +        <ul>
  +          <li>
  +            <a 
href="http://marc.theaimsgroup.com/?l=tomcat-user&m=103417249925541&w=2";>
  +              [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability
  +            </a>
  +          </li>
  +          <li>
  +            <a href="http://marc.theaimsgroup.com/?t=103945337100003&r=1&w=2";>
  +              Cannot Run Servlets, only JSP's, Part II
  +            </a>
  +          </li>
  +          <li>
  +            <a href="http://marc.theaimsgroup.com/?t=104326854100001&r=1&w=2";>
  +              Tomcat configuration problem: JSPs work, servlets don
  +            </a>
  +          </li>
  +        </ul>
  +    </div><br>
  +
  +
  +  <b style="font-size: larger">
  +    <a name="evil">Why is the invoker evil?</a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    <i>This is opinions of the writer (YMMV)</i> <br>
  +    <em>Quickie about the invoker:</em> The invoker is a dynamic servlet which
  +    allows run-time
  +    loading of other servlets based on class name. This servlet is the one
  +    that allows
  +    <code>http://localhost/servlet/com.foo.MyClass?more=cowbell</code>, where
  +    <code>com.foo.MyClass</code> is some class which can be loaded as
  +    a servlet but was never explicitly declared in a config file.
  +
  +    <br><br>
  +
  +    Evil because
  +    <ul>
  +      <li>Security risk ... see links above</li>
  +      <li>
  +        Configuration hiding - There is NO way to determine which servlets are
  +        used vs which are not used. In web.xml, every servlet is declared
  +        and mapped.
  +        In that one file you instantly have a road map to how the app works.
  +      </li>
  +      <li>
  +        Back doors. Servlets which <b>are</b> mapped can be alternately
  +        called via the
  +        invoker by class name. Since the URL is different, all security
  +        constraints might be ignored since the URL pattern is VERY different.
  +      </li>
  +      <li>
  +        Back doors. Bad programmers make it easier to do bad things.
  +      </li>
  +      <li>
  +        Back doors. It may be common to use common 3rd party jars in a
  +        shared area. If that shared jar has servlets in them and that servlet
  +        has a hole in it, bad things happen.
  +      </li>
  +      <li>
  +        Configuration hiding - its important enough to say twice. Explicit
  +        declaration while a PITA, will be more helpful in the maintenance
  +        scheme of your app.
  +      </li>
  +    </ul>
  +  </div><br>
  +
  +
  +  <b style="font-size: larger">
  +    <a name="version">How to I get Tomcat's version number?</a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    <code>javax.servlet.ServletContext.getServerInfo();</code>
  +  </div><br>
  +
  +  <b style="font-size: larger">
  +    <a name="cpu">Tomcat eats 100% of the CPU!</a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    Odds are, it might be the garbage collector going wacky. <br><br>
  +
  +    In 1.4.1 JVMs there is a memory leak which could hampering the
  +    garbage collector.
  +    <a href="http://developer.java.sun.com/developer/bugParade/bugs/4724129.html";>
  +       More information
  +    </a>
  +
  +    Otherwise - get a memory profiler and/or tweak your memory settings.
  +  </div><br>
  +
  +
  +
  +  <b style="font-size: larger">
  +    <a name="properties">
  +        How do I set system properties at startup?
  +    </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    Set <code>JAVA_OPTS</code> to be something BEFORE calling startup.bat
  +    or before calling catalina.bat. (or you can edit those files, but it
  +    isn't advised)
  +
  +    <br><br>
  +
  +    <em>Example (windows): </em>
  +    <code>SET JAVA_OPTS='-DpropName=propValue'</code>
  +    <br><br>
  +
  +    <em>Example (unix): </em>
  +    <code>export JAVA_OPTS='-DpropName=propValue'</code>
  +
  +    <br><br>
  +
  +    Windows service users -
  +            <a href="http://web.bvu.edu/staff/david/tcservcfg/";>
  +             use this</a>
  +  </div><br>
  +
  +
  +  <b style="font-size: larger">
  +    <a name="error">
  +      How do I get a customized error page?
  +    </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    In web.xml ...
  +    <pre>
  +        &lt;error-page&gt;
  +            &lt;error-code&gt;404&lt;/error-code&gt;
  +            &lt;location&gt;/error/404.html&lt;/location&gt;
  +        &lt;/error-page&gt;
  +    </pre>
  +
  +    For more information, see the Servlet Specification for all the gory
  +    details of how you can play with this.
  +  </div><br>
  +
  +
  +  <b style="font-size: larger">
  +    <a name="le">Should I use the LE version?</a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    No. It was an experiment, it failed. (YMMV) The original purpose
  +    of LE was because jdk1.4 provides a LOT of standard functionality
  +    that Tomcat uses that was not in jdk 1.3. So to save some space
  +    two distributions were made to save some bandwidth. Since then,
  +    it has been an exercise in confusion. (Flame me if you disagree)
  +    <a href="http://marc.theaimsgroup.com/?l=tomcat-user&=105341005928071&w=2";>
  +        More info
  +    </a>
  +  </div><br>
  +
  +
  +
  +  <b style="font-size: larger">
  +    <a name="persist">
  +      How do I configure Tomcat to NOT to store the sessions during shutdown?
  +    </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html";>
  +        Look at the Session manager component and tweak accordingly.
  +    </a>
  +  </div><br>
  +
  +
  +
  +  <b style="font-size: larger">
  +    <a name="tagpool">
  +      How do I disable tag pooling?
  +    </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    To disable tag pooling:
  +    See $TOMCAT_HOME/conf/web.xml --&gt; enablePooling=false for the jsp servlet
  +    declaration.
  +  </div><br>
  +
  +
  +
  +  <b style="font-size: larger">
  +      <a name="dtd">
  +        Is there a DTD for server.xml?
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    No! Nor can one accurately exist.
  +    <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=104205666221372&w=2";>
  +       Here's why
  +    </a>
  +  </div><br>
  +
  +
  +  <b style="font-size: larger">
  +      <a name="welcome">
  +        How do I change the welcome file? (
  +                I want to show index.jsp instead of index.html)
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    This is done in web.xml by changing <code>welcome-files-list</code>.
  +    <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=104566785828794&w=2";>
  +      More detail.
  +    </a>
  +  </div><br>
  +
  +
  +  <b style="font-size: larger">
  +      <a name="listing">
  +        How do I enable/disable directoty listings?
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    This is done in TOMCAT_HOME/conf/web.xml by changing <code>listings</code>
  +    property for the <code>default</code> servlet.
  +  </div><br>
  +
  +
  +  <b style="font-size: larger">
  +      <a name="ip">
  +        How do I make Tomcat listen on a specific IP
  +            address instead of all available addresses?
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +     RTFM! [Add the property <code>address='127.0.0.1'</code>
  +     to your Connector config.]
  +     For more detail:
  +     <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html";>
  +        JK</a>,
  +     <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/http11.html";>
  +        http</a> (legacy),
  +     <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html";>
  +        http</a> (coyote).
  +  </div><br>
  +
  +
  +
  +  <b style="font-size: larger">
  +      <a name="symlink">
  +        How do I use symbolic links with jars?
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    You'll need to treak with server.xml and
  +     <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105159411609623&w=2";>
  +         do this.
  +     </a> (Don't worry - its really easy!)
  +  </div><br>
  +
  +
  +
  +  <b style="font-size: larger">
  +      <a name="utf8">
  +        How do I get UTF-8?
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    This
  +     <a href="http://marc.theaimsgroup.com/?t=105524444400002&r=1&w=2";>
  +         thread
  +     </a>
  +     should answer that.
  +  </div><br>
  +
  +
  +
  +  <b style="font-size: larger">
  +      <a name="#saveas">
  +        How do I change the name of the file in the download Save-As dialog
  +        from a servlet? (or jsp)
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    Use the
  +     <a href="http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html";>
  +         Content-Disposition
  +     </a>
  +     header.
  +  </div><br>
  +
  +
  +
  +  <b style="font-size: larger">
  +      <a name="#tagbroken">
  +        Is tag pooling broken? It doesn't call release!
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    It is not broken, your tag probably is. Many bug reports
  +    have been filed about this.
  +     <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16001";>
  +        Here
  +     </a>
  +    is the bug report with all the gory details.
  +  </div><br>
  +
  +
  +
  +</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
  +        Copyright &copy; 1999-2003, Apache Software Foundation
           </em></font></div></td></tr></table></body></html>
  
  
  
  1.3       +231 -225  jakarta-tomcat-site/docs/faq/connectors.html
  
  Index: connectors.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/connectors.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- connectors.html   17 Jun 2003 21:56:45 -0000      1.2
  +++ connectors.html   24 Jun 2003 02:07:02 -0000      1.3
  @@ -1,226 +1,232 @@
  -<html><head><META http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"><title>Tomcat FAQ - Connectors</title><meta value="Tim Funk" 
name="author"><meta value="[EMAIL PROTECTED]" name="email"><style>
  -      dt { font-size : larger;  font-weight : bold }
  -      dd {padding-bottom : 10px;}
  -    </style></head><body vlink="#525D76" alink="#525D76" link="#525D76" 
text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" 
border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a 
href="http://jakarta.apache.org/";><img border="0" alt="The Jakarta Project" 
align="left" src="http://jakarta.apache.org//images/jakarta-logo.gif";></a><!--PROJECT 
LOGO--><a href="http://jakarta.apache.org/tomcat/";><img border="0" alt="
  -      Tomcat FAQ
  -    " align="right" src="../images/tomcat.gif"></a></td></tr><!--HEADER 
SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><!--LEFT SIDE 
NAVIGATION--><td nowrap="true" valign="top" 
width="20%"><p><strong>Links</strong></p><ul><li><a href="..">Tomcat 
Home</a></li><li><a href="index.html">FAQ 
Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a 
href="bugs.html">Bugs</a></li><li><a href="classnotfound.html">Class Not 
Found</a></li><li><a href="connectors.html">Connectors</a></li><li><a 
href="database.html">Database</a></li><li><a href="howto.html">How do I</a></li><li><a 
href="unix.html">Linux / Unix</a></li><li><a href="memory.html">Memory</a></li><li><a 
href="meta.html">Meta</a></li><li><a href="misc.html">Miscellaneous</a></li><li><a 
href="performance.html">Monitoring / Performance</a></li><li><a 
href="links.html">Other Resources</a></li><li><a 
href="security.html">Security</a></li><li><a href="version.html">Which 
Version</a></li><li><a href="tomcatuser.html">Tomcat User List</a></li><li><a 
href="windows.html">Windows</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td 
align="left" valign="top" width="80%"><table cellspacing="4" width="100%" 
border="0"><tr><td nowrap="true" valign="top" align="left"><h1>Tomcat 
FAQ</h1><h2>Connectors</h2></td><td nowrap="true" valign="top" align="right"><small><a 
href="printer/connectors.html"><img alt="Printer Friendly Version" border="0" 
src="../images/printer.gif"><br>print-friendly<br>version
  -                    </a></small></td></tr></table><table cellpadding="2" 
cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font 
face="arial,helvetica.sanserif" color="#ffffff"><a 
name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>
  -  <p>
  -    Many people have also documented getting the connectors to work in their
  -    own enivornment.
  -    Each person had their own situation to deal with. Hopefully your situation
  -    matches one of theirs. Otherwise, we also do provide the
  -    reference documentation.
  -
  -<ul>
  -  <li>[link]
  -    <a href="http://www.johnturner.com/howto/apache-tomcat-howto.html";>
  -        John Turner's HOWTO
  -    </a>
  -  </li>
  -  <li>[link]
  -    <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html";>
  -        JK docs
  -    </a>
  -  </li>
  -
  -  <li>[link]
  -    <a href="http://raibledesigns.com/tomcat/index.html";>
  -      Apache 2.x + Tomcat 4.x + Load Balancing (or Private JVMs)
  -    </a>
  -  </li>
  -
  -  <li>[link]
  -    <a href="http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html";>
  -        Configuring Tomcat and Apache With JK 1.2
  -    </a>
  -  </li>
  -
  -  <li>[link]
  -    <a href="http://daydream.stanford.edu/tomcat/install_web_services.html";>
  -      Installing Web Services with Tomcat/Apache/Struts/Postgresql/Openssl
  -    </a>
  -  </li>
  -
  -  <li>[link]
  -    <a href="http://www.thinlizard.com/lizard/modjk2.html";>
  -       Building mod_jk2 on FreeBSD 4.7
  -    </a>
  -  </li>
  -
  -  <li>[thread]
  -    <a href="http://marc.theaimsgroup.com/?t=104040058200004&r=1&w=2";>
  -      Configuring mod_jk - Again!
  -    </a>
  -  </li>
  -
  -  <li>[thread]
  -    <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=103763413712975&w=2";>
  -       [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk - STILL HAVING PROBLEMS
  -    </a>
  -  </li>
  -
  -   <li>[thread]Quickie how-to for building
  -      <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105112006011912&w=2";>
  -         JK
  -      </a>
  -      and
  -      <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105103815630094&w=2";>
  -        JK2
  -      </a>
  -    </li>
  -  </ul>
  -
  -</p>
  -</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
  -<p>
  -  <ul>
  -    <li>
  -      <a href="#jk">
  -        What is JK?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#vs">
  -        Which connector: mod_jserv, JK, JK2, mod_webapp or mod_proxy?
  -      </a>
  -    </li>
  -    <li>
  -      <a href="#integrate">
  -        Why should  I integrate Apache  with Tomcat? (or not)
  -      </a>
  -    </li>
  -  </ul>
  -</p>
  -</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  -
  -  <b style="font-size: larger">
  -    <a name="jk">What is JK?</a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    JK is a wire protocol. It an optimized version of the HTTP protocol to
  -    allow a standalone web server such as Apache talk to Tomcat. Historically,
  -    Apache has always been much faster than Tomcat at serving static content.
  -    The idea is to let Apache serve the static content when possible, then
  -    proxy the request back to Tomcat for Tomcat related content.
  -  </div><br>
  -
  -  <b style="font-size: larger">
  -    <a name="vs">
  -      Which connector: mod_jserv, JK, JK2, mod_webapp or mod_proxy?
  -    </a>
  -  </b>
  -  <div style="padding-left : 20px;">
  -    <ul>
  -      <li>
  -        Stay away from mod_webapp, aka warp. It is deprecated and unsupported
  -        due to lack of developer interest and there are better options such
  -        as jk and jk2. It is WILL NOT run on windows.
  -      </li>
  -      <li>
  -        mod_jserv is good but AFAIK is unsupported and will not be supported
  -        in Tomcat 5.
  -      </li>
  -      <li>
  -        <b>mod_jk is great and should be used for production. It is getting
  -        fixes as needed (which is now rare). </b>
  -      </li>
  -      <li>
  -        jk2 is a refactoring of mod_jk and uses the Apache Portable
  -        Runtime(apr). If you are using Apache 2.0,
  -        you'll probably want to use jk2. But this may not be production
  -        worthy for everyone. (YMMV)
  -      </li>
  -      <li>mod_proxy. Interesting idea and it
  -        doesn't seem to have much problems with heavy loads. If you don't
  -        need some of the features of jk, jk2 - this is a very simple
  -        alternative.
  -      </li>
  -    </ul>
  -  </div><br>
  -
  -   <b style="font-size: larger">
  -     <a name="integrate">
  -        Why should  I integrate Apache  with Tomcat? (or not)
  -     </a>
  -   </b>
  -   <div style="padding-left : 20px;">
  -    There are many reasons to integrate Tomcat with Apache. And there are
  -    reasons why it
  -    should not be done too. Needless to say, everyone will disagree with
  -    the opinions here.
  -    With the upcoming performance of Tomcat 5, performance reasons
  -    become harder to justify. So here are the issues to discuss in
  -    intergrating vs not.
  -   <br><br>
  -
  -  <ul>
  -    <li>
  -      Clustering. By using Apache as a front end you can let Apache act as a
  -      front door to your content to multiple Tomcat instances. If one of your
  -      Tomcats fails, Apache
  -      ignores it and your Sysadmin can sleep through the night. This point
  -      could be ignored if you use a hardware loadbalancer and Tomcat's
  -      clustering capabilities.
  -    </li>
  -    <li>
  -      Clustering/Security. You can also use Apache as a front door to different
  -      Tomcats for
  -      different URL namespaces (/app1/, /app2/, /app3/, or virtual hosts).
  -      The Tomcats can then be each in a protected area
  -      and from a security point of view, you only need to worry about the
  -      Apache server. Essentially, Apache becomes a smart proxy server.
  -    </li>
  -    <li>
  -       Security. This topic can sway one either way. Java has the security
  -       manager while Apache has a larger mindshare and more tricks with
  -       respect to security. I won't go into this
  -       in more detail, but let Google be your friend. Depending on your scenario,
  -       one might be better than the other. But also keep in mind, if you run
  -       Apache with
  -       Tomcat - you have two systems to defend, not one.
  -    </li>
  -    <li>
  -       Add-ons. Adding on CGI, perl, PHP is very natural to Apache. Its
  -       slower and more
  -       of a kludge for Tomcat. Apache also has hundreds of modules that can
  -       be plugged in
  -       at will. Tomcat can have this ability, but the code hasn't been
  -       written yet.
  -    </li>
  -    <li>
  -       Decorators! With Apache in front of Tomcat, you can perform any number
  -       of decorators that
  -       Tomcat doesn't support or doesn't have the immediate code support.
  -       For example,
  -       mod_headers, mod_rewrite, and mod_alias could be written for Tomcat,
  -       but why reinvent the wheel when Apache has done it so well?
  -    </li>
  -    <li>
  -      Speed. Apache is faster at serving static content than Tomcat. But unless
  -      you have a high traffic site, this point is useless.
  -    </li>
  -    <li>
  -       Socket handling/system stability. Apache has better socket handling
  -       with respect
  -       to error conditions than Tomcat. The main reason is Tomcat must perform
  -       all its socket handling via the JVM which needs to be cross patform.
  -       The problem
  -       is socket optimization is a platform specific ordeal. Most of the
  -       time the java
  -       code is fine, but when you are also bombarded with dropped connections,
  -       invalid
  -       packets, invalid requests from invalid IP's, Apache does a better job
  -       at dropping these error conditions than JVM based program.
  -    </li>
  -    <li>
  -    <a 
href="http://marc.theaimsgroup.com/?l=tomcat-user&m=104874913017036&w=2";>Here </a>
  -    is a great response from Craig R. McClanahan. If you have free time,
  -    read emails by him in any of the list archives. You'll learn a lot.
  -    </li>
  -    </ul>
  -  </div><br>
  -
  -</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
  -        Copyright &copy; 1999-2003, Apache Software Foundation
  +<html><head><META http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"><title>Tomcat FAQ - Connectors</title><meta value="Tim Funk" 
name="author"><meta value="[EMAIL PROTECTED]" name="email"><style>
  +      dt { font-size : larger;  font-weight : bold }
  +      dd {padding-bottom : 10px;}
  +    </style></head><body vlink="#525D76" alink="#525D76" link="#525D76" 
text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" 
border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a 
href="http://jakarta.apache.org/";><img border="0" alt="The Jakarta Project" 
align="left" src="http://jakarta.apache.org//images/jakarta-logo.gif";></a><!--PROJECT 
LOGO--><a href="http://jakarta.apache.org/tomcat/";><img border="0" alt="
  +      Tomcat FAQ
  +    " align="right" src="../images/tomcat.gif"></a></td></tr><!--HEADER 
SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><!--LEFT SIDE 
NAVIGATION--><td nowrap="true" valign="top" 
width="20%"><p><strong>Links</strong></p><ul><li><a href="..">Tomcat 
Home</a></li><li><a href="index.html">FAQ 
Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a 
href="bugs.html">Bugs</a></li><li><a href="classnotfound.html">Class Not 
Found</a></li><li><a href="connectors.html">Connectors</a></li><li><a 
href="database.html">Database</a></li><li><a href="howto.html">How do I</a></li><li><a 
href="unix.html">Linux / Unix</a></li><li><a href="memory.html">Memory</a></li><li><a 
href="meta.html">Meta</a></li><li><a href="misc.html">Miscellaneous</a></li><li><a 
href="performance.html">Monitoring / Performance</a></li><li><a 
href="links.html">Other Resources</a></li><li><a 
href="security.html">Security</a></li><li><a href="version.html">Which 
Version</a></li><li><a href="tomcatuser.html">Tomcat User List</a></li><li><a 
href="windows.html">Windows</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td 
align="left" valign="top" width="80%"><table cellspacing="4" width="100%" 
border="0"><tr><td nowrap="true" valign="top" align="left"><h1>Tomcat 
FAQ</h1><h2>Connectors</h2></td><td nowrap="true" valign="top" align="right"><small><a 
href="printer/connectors.html"><img alt="Printer Friendly Version" border="0" 
src="../images/printer.gif"><br>print-friendly<br>version
  +                    </a></small></td></tr></table><table cellpadding="2" 
cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font 
face="arial,helvetica.sanserif" color="#ffffff"><a 
name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>
  +  <p>
  +    Many people have also documented getting the connectors to work in their
  +    own enivornment.
  +    Each person had their own situation to deal with. Hopefully your situation
  +    matches one of theirs. Otherwise, we also do provide the
  +    reference documentation.
  +
  +<ul>
  +  <li>[link]
  +    <a href="http://www.johnturner.com/howto/apache-tomcat-howto.html";>
  +        John Turner's HOWTO
  +    </a>
  +  </li>
  +  <li>[link]
  +    <a href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html";>
  +        JK docs
  +    </a>
  +  </li>
  +
  +  <li>[link]
  +    <a href="http://raibledesigns.com/tomcat/index.html";>
  +      Apache 2.x + Tomcat 4.x + Load Balancing (or Private JVMs)
  +    </a>
  +  </li>
  +
  +  <li>[link]
  +    <a href="http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html";>
  +        Configuring Tomcat and Apache With JK 1.2
  +    </a>
  +  </li>
  +
  +  <li>[link]
  +    <a href="http://daydream.stanford.edu/tomcat/install_web_services.html";>
  +      Installing Web Services with Tomcat/Apache/Struts/Postgresql/Openssl
  +    </a>
  +  </li>
  +
  +  <li>[link]
  +    <a href="http://www.thinlizard.com/lizard/modjk2.html";>
  +       Building mod_jk2 on FreeBSD 4.7
  +    </a>
  +  </li>
  +
  +  <li>[link]
  +    <a href="http://www.greenfieldresearch.ca/technical/jk2_config.html";>
  +       Tomcat-Apache using JK2 connector
  +    </a>
  +  </li>
  +
  +  <li>[thread]
  +    <a href="http://marc.theaimsgroup.com/?t=104040058200004&r=1&w=2";>
  +      Configuring mod_jk - Again!
  +    </a>
  +  </li>
  +
  +  <li>[thread]
  +    <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=103763413712975&w=2";>
  +       [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk - STILL HAVING PROBLEMS
  +    </a>
  +  </li>
  +
  +   <li>[thread]Quickie how-to for building
  +      <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105112006011912&w=2";>
  +         JK
  +      </a>
  +      and
  +      <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=105103815630094&w=2";>
  +        JK2
  +      </a>
  +    </li>
  +  </ul>
  +
  +</p>
  +</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
  +<p>
  +  <ul>
  +    <li>
  +      <a href="#jk">
  +        What is JK?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#vs">
  +        Which connector: mod_jserv, JK, JK2, mod_webapp or mod_proxy?
  +      </a>
  +    </li>
  +    <li>
  +      <a href="#integrate">
  +        Why should  I integrate Apache  with Tomcat? (or not)
  +      </a>
  +    </li>
  +  </ul>
  +</p>
  +</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  +
  +  <b style="font-size: larger">
  +    <a name="jk">What is JK?</a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    JK is a wire protocol. It an optimized version of the HTTP protocol to
  +    allow a standalone web server such as Apache talk to Tomcat. Historically,
  +    Apache has always been much faster than Tomcat at serving static content.
  +    The idea is to let Apache serve the static content when possible, then
  +    proxy the request back to Tomcat for Tomcat related content.
  +  </div><br>
  +
  +  <b style="font-size: larger">
  +    <a name="vs">
  +      Which connector: mod_jserv, JK, JK2, mod_webapp or mod_proxy?
  +    </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    <ul>
  +      <li>
  +        Stay away from mod_webapp, aka warp. It is deprecated and unsupported
  +        due to lack of developer interest and there are better options such
  +        as jk and jk2. It is WILL NOT run on windows.
  +      </li>
  +      <li>
  +        mod_jserv is good but AFAIK is unsupported and will not be supported
  +        in Tomcat 5.
  +      </li>
  +      <li>
  +        <b>mod_jk is great and should be used for production. It is getting
  +        fixes as needed (which is now rare). </b>
  +      </li>
  +      <li>
  +        jk2 is a refactoring of mod_jk and uses the Apache Portable
  +        Runtime(apr). If you are using Apache 2.0,
  +        you'll probably want to use jk2. But this may not be production
  +        worthy for everyone. (YMMV)
  +      </li>
  +      <li>mod_proxy. Interesting idea and it
  +        doesn't seem to have much problems with heavy loads. If you don't
  +        need some of the features of jk, jk2 - this is a very simple
  +        alternative.
  +      </li>
  +    </ul>
  +  </div><br>
  +
  +   <b style="font-size: larger">
  +     <a name="integrate">
  +        Why should  I integrate Apache  with Tomcat? (or not)
  +     </a>
  +   </b>
  +   <div style="padding-left : 20px;">
  +    There are many reasons to integrate Tomcat with Apache. And there are
  +    reasons why it
  +    should not be done too. Needless to say, everyone will disagree with
  +    the opinions here.
  +    With the upcoming performance of Tomcat 5, performance reasons
  +    become harder to justify. So here are the issues to discuss in
  +    intergrating vs not.
  +   <br><br>
  +
  +  <ul>
  +    <li>
  +      Clustering. By using Apache as a front end you can let Apache act as a
  +      front door to your content to multiple Tomcat instances. If one of your
  +      Tomcats fails, Apache
  +      ignores it and your Sysadmin can sleep through the night. This point
  +      could be ignored if you use a hardware loadbalancer and Tomcat's
  +      clustering capabilities.
  +    </li>
  +    <li>
  +      Clustering/Security. You can also use Apache as a front door to different
  +      Tomcats for
  +      different URL namespaces (/app1/, /app2/, /app3/, or virtual hosts).
  +      The Tomcats can then be each in a protected area
  +      and from a security point of view, you only need to worry about the
  +      Apache server. Essentially, Apache becomes a smart proxy server.
  +    </li>
  +    <li>
  +       Security. This topic can sway one either way. Java has the security
  +       manager while Apache has a larger mindshare and more tricks with
  +       respect to security. I won't go into this
  +       in more detail, but let Google be your friend. Depending on your scenario,
  +       one might be better than the other. But also keep in mind, if you run
  +       Apache with
  +       Tomcat - you have two systems to defend, not one.
  +    </li>
  +    <li>
  +       Add-ons. Adding on CGI, perl, PHP is very natural to Apache. Its
  +       slower and more
  +       of a kludge for Tomcat. Apache also has hundreds of modules that can
  +       be plugged in
  +       at will. Tomcat can have this ability, but the code hasn't been
  +       written yet.
  +    </li>
  +    <li>
  +       Decorators! With Apache in front of Tomcat, you can perform any number
  +       of decorators that
  +       Tomcat doesn't support or doesn't have the immediate code support.
  +       For example,
  +       mod_headers, mod_rewrite, and mod_alias could be written for Tomcat,
  +       but why reinvent the wheel when Apache has done it so well?
  +    </li>
  +    <li>
  +      Speed. Apache is faster at serving static content than Tomcat. But unless
  +      you have a high traffic site, this point is useless.
  +    </li>
  +    <li>
  +       Socket handling/system stability. Apache has better socket handling
  +       with respect
  +       to error conditions than Tomcat. The main reason is Tomcat must perform
  +       all its socket handling via the JVM which needs to be cross patform.
  +       The problem
  +       is socket optimization is a platform specific ordeal. Most of the
  +       time the java
  +       code is fine, but when you are also bombarded with dropped connections,
  +       invalid
  +       packets, invalid requests from invalid IP's, Apache does a better job
  +       at dropping these error conditions than JVM based program.
  +    </li>
  +    <li>
  +    <a 
href="http://marc.theaimsgroup.com/?l=tomcat-user&m=104874913017036&w=2";>Here </a>
  +    is a great response from Craig R. McClanahan. If you have free time,
  +    read emails by him in any of the list archives. You'll learn a lot.
  +    </li>
  +    </ul>
  +  </div><br>
  +
  +</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
  +        Copyright &copy; 1999-2003, Apache Software Foundation
           </em></font></div></td></tr></table></body></html>
  
  
  
  1.3       +127 -107  jakarta-tomcat-site/docs/faq/classnotfound.html
  
  Index: classnotfound.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/classnotfound.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- classnotfound.html        17 Jun 2003 21:56:45 -0000      1.2
  +++ classnotfound.html        24 Jun 2003 02:07:02 -0000      1.3
  @@ -1,108 +1,128 @@
  -<html><head><META http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"><title>Tomcat FAQ - Class Not Found Issues</title><meta value="Tim 
Funk" name="author"><meta value="[EMAIL PROTECTED]" name="email"><style>
  -      dt { font-size : larger;  font-weight : bold }
  -      dd {padding-bottom : 10px;}
  -    </style></head><body vlink="#525D76" alink="#525D76" link="#525D76" 
text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" 
border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a 
href="http://jakarta.apache.org/";><img border="0" alt="The Jakarta Project" 
align="left" src="http://jakarta.apache.org//images/jakarta-logo.gif";></a><!--PROJECT 
LOGO--><a href="http://jakarta.apache.org/tomcat/";><img border="0" alt="
  -      Tomcat FAQ
  -    " align="right" src="../images/tomcat.gif"></a></td></tr><!--HEADER 
SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><!--LEFT SIDE 
NAVIGATION--><td nowrap="true" valign="top" 
width="20%"><p><strong>Links</strong></p><ul><li><a href="..">Tomcat 
Home</a></li><li><a href="index.html">FAQ 
Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a 
href="bugs.html">Bugs</a></li><li><a href="classnotfound.html">Class Not 
Found</a></li><li><a href="connectors.html">Connectors</a></li><li><a 
href="database.html">Database</a></li><li><a href="howto.html">How do I</a></li><li><a 
href="unix.html">Linux / Unix</a></li><li><a href="memory.html">Memory</a></li><li><a 
href="meta.html">Meta</a></li><li><a href="misc.html">Miscellaneous</a></li><li><a 
href="performance.html">Monitoring / Performance</a></li><li><a 
href="links.html">Other Resources</a></li><li><a 
href="security.html">Security</a></li><li><a href="version.html">Which 
Version</a></li><li><a href="tomcatuser.html">Tomcat User List</a></li><li><a 
href="windows.html">Windows</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td 
align="left" valign="top" width="80%"><table cellspacing="4" width="100%" 
border="0"><tr><td nowrap="true" valign="top" align="left"><h1>Tomcat 
FAQ</h1><h2>Class Not Found Issues</h2></td><td nowrap="true" valign="top" 
align="right"><small><a href="printer/classnotfound.html"><img alt="Printer Friendly 
Version" border="0" src="../images/printer.gif"><br>print-friendly<br>version
  -                    </a></small></td></tr></table><table cellpadding="2" 
cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font 
face="arial,helvetica.sanserif" color="#ffffff"><a 
name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>
  -    This page discusses the various ways you see Class Not Found errors or
  -    very similar errors. It is strongly advised you read the following topics:
  -    <ul>
  -      <li>
  -        <a 
href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html";>
  -          Tomcat 4.1 Classloader HOWTO
  -        </a>
  -      </li>
  -      <li>
  -         <a href="http://marc.theaimsgroup.com/?t=104317529200004&r=1&w=2";>
  -            Don't
  -         </a>
  -           <span style="padding-left : 7;"></span>
  -         <a href="http://marc.theaimsgroup.com/?t=104380440100003&r=1&w=2";>
  -            use
  -         </a>
  -           <span style="padding-left : 7;"></span>
  -         <a href="http://marc.theaimsgroup.com/?t=96947656900002&r=1&w=2";>
  -            packageless
  -         </a>
  -           <span style="padding-left : 7;"></span>
  -         <a href="http://marc.theaimsgroup.com/?t=104491020100002&r=1&w=2";>
  -            classes
  -         </a>
  -           <span style="padding-left : 7;"></span>
  -         <a href="http://marc.theaimsgroup.com/?t=104265576200003&r=1&w=2";>
  -            and
  -         </a>
  -           <span style="padding-left : 7;"></span>
  -         <a href="http://marc.theaimsgroup.com/?t=104249748300001&r=1&w=2";>
  -            declare
  -         </a>
  -           <span style="padding-left : 7;"></span>
  -         <a href="http://marc.theaimsgroup.com/?t=102996950100003&r=1&w=2";>
  -            all
  -         </a>
  -           <span style="padding-left : 7;"></span>
  -         <a href="http://marc.theaimsgroup.com/?t=102922189400001&r=1&w=2";>
  -            imported classes
  -         </a> !
  -      </li>
  -      <li>
  -        <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=103843452413727&w=2";>
  -          Another answer to a classloader issue
  -        </a>
  -      </li>
  -    </ul>
  -</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
  -<p>
  -  <ul>
  -    <li>
  -      <a href="#usebean">Why is <code>jsp:useBean</code> not working!</a>
  -    </li>
  -    <li>
  -      <a href="#filter">
  -        Why do I get <code>java.lang.NoClassDefFoundError:
  -        javax/servlet/Filter</code>
  -        </a>
  -     </li>
  -  </ul>
  -</p>
  -</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  -
  -    <b style="font-size: larger">
  -        <a name="usebean">Why is <code>jsp:useBean</code> is not working?</a>
  -    </b>
  -    <div style="padding-left : 20px;">
  -    Make sure:
  -    <ul>
  -      <li>
  -        Your bean is packaged in a class.
  -      </li>
  -      <li>
  -        You have fully qualifies your class name
  -        (eg:<code>com.bar.package.MyClass</code>) OR
  -      </li>
  -      <li>
  -        You have imported your class into your jsp
  -        (eg: <code>&lt;%@ pageimport="com.bar.package.MyClass"%&gt;</code>)
  -      </li>
  -    </ul>
  -    </div><br>
  -
  -
  -    <b style="font-size: larger">
  -     <a name="filter">
  -       Why do I get <code>java.lang.NoClassDefFoundError:
  -       javax/servlet/Filter</code>
  -     </a>
  -    </b>
  -    <div style="padding-left : 20px;">
  -    You probably have servlet.jar floating around somewhere it shouldn't be.
  -    This really messes up the classloaders since Tomcat's classloaders
  -    don't act quite as normal as one expects (see links above). servlet.jar
  -    should only be found only once in $CATALINA_HOME/common/lib.
  -    </div><br>
  -
  -
  -</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
  -        Copyright &copy; 1999-2003, Apache Software Foundation
  +<html><head><META http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1"><title>Tomcat FAQ - Class Not Found Issues</title><meta value="Tim 
Funk" name="author"><meta value="[EMAIL PROTECTED]" name="email"><style>
  +      dt { font-size : larger;  font-weight : bold }
  +      dd {padding-bottom : 10px;}
  +    </style></head><body vlink="#525D76" alink="#525D76" link="#525D76" 
text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" 
border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a 
href="http://jakarta.apache.org/";><img border="0" alt="The Jakarta Project" 
align="left" src="http://jakarta.apache.org//images/jakarta-logo.gif";></a><!--PROJECT 
LOGO--><a href="http://jakarta.apache.org/tomcat/";><img border="0" alt="
  +      Tomcat FAQ
  +    " align="right" src="../images/tomcat.gif"></a></td></tr><!--HEADER 
SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><!--LEFT SIDE 
NAVIGATION--><td nowrap="true" valign="top" 
width="20%"><p><strong>Links</strong></p><ul><li><a href="..">Tomcat 
Home</a></li><li><a href="index.html">FAQ 
Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a 
href="bugs.html">Bugs</a></li><li><a href="classnotfound.html">Class Not 
Found</a></li><li><a href="connectors.html">Connectors</a></li><li><a 
href="database.html">Database</a></li><li><a href="howto.html">How do I</a></li><li><a 
href="unix.html">Linux / Unix</a></li><li><a href="memory.html">Memory</a></li><li><a 
href="meta.html">Meta</a></li><li><a href="misc.html">Miscellaneous</a></li><li><a 
href="performance.html">Monitoring / Performance</a></li><li><a 
href="links.html">Other Resources</a></li><li><a 
href="security.html">Security</a></li><li><a href="version.html">Which 
Version</a></li><li><a href="tomcatuser.html">Tomcat User List</a></li><li><a 
href="windows.html">Windows</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td 
align="left" valign="top" width="80%"><table cellspacing="4" width="100%" 
border="0"><tr><td nowrap="true" valign="top" align="left"><h1>Tomcat 
FAQ</h1><h2>Class Not Found Issues</h2></td><td nowrap="true" valign="top" 
align="right"><small><a href="printer/classnotfound.html"><img alt="Printer Friendly 
Version" border="0" src="../images/printer.gif"><br>print-friendly<br>version
  +                    </a></small></td></tr></table><table cellpadding="2" 
cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font 
face="arial,helvetica.sanserif" color="#ffffff"><a 
name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>
  +    This page discusses the various ways you see Class Not Found errors or
  +    very similar errors. It is strongly advised you read the following topics:
  +    <ul>
  +      <li>
  +        <a 
href="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html";>
  +          Tomcat 4.1 Classloader HOWTO
  +        </a>
  +      </li>
  +      <li>
  +         <a href="http://marc.theaimsgroup.com/?t=104317529200004&r=1&w=2";>
  +            Don't
  +         </a>
  +           <span style="padding-left : 7;"></span>
  +         <a href="http://marc.theaimsgroup.com/?t=104380440100003&r=1&w=2";>
  +            use
  +         </a>
  +           <span style="padding-left : 7;"></span>
  +         <a href="http://marc.theaimsgroup.com/?t=96947656900002&r=1&w=2";>
  +            packageless
  +         </a>
  +           <span style="padding-left : 7;"></span>
  +         <a href="http://marc.theaimsgroup.com/?t=104491020100002&r=1&w=2";>
  +            classes
  +         </a>
  +           <span style="padding-left : 7;"></span>
  +         <a href="http://marc.theaimsgroup.com/?t=104265576200003&r=1&w=2";>
  +            and
  +         </a>
  +           <span style="padding-left : 7;"></span>
  +         <a href="http://marc.theaimsgroup.com/?t=104249748300001&r=1&w=2";>
  +            declare
  +         </a>
  +           <span style="padding-left : 7;"></span>
  +         <a href="http://marc.theaimsgroup.com/?t=102996950100003&r=1&w=2";>
  +            all
  +         </a>
  +           <span style="padding-left : 7;"></span>
  +         <a href="http://marc.theaimsgroup.com/?t=102922189400001&r=1&w=2";>
  +            imported classes
  +         </a> !
  +      </li>
  +      <li>
  +        <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=103843452413727&w=2";>
  +          Another answer to a classloader issue
  +        </a>
  +      </li>
  +    </ul>
  +    If you get a
  +    <code>NoClassDefFoundError</code> exception, the root might be the
  +    same reason as a <code>ClassNotFound</code> exception.
  +</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
  +<p>
  +  <ul>
  +    <li>
  +      <a href="#usebean">Why is <code>jsp:useBean</code> not working!</a>
  +    </li>
  +    <li>
  +      <a href="#filter">
  +        Why do I get <code>java.lang.NoClassDefFoundError:
  +        javax/servlet/Filter</code>
  +        </a>
  +     </li>
  +    <li>
  +      <a href="#xml">
  +        Why do I get <code>NoClassDefFoundError: org/xml/sax/InputSource</code>?
  +        </a>
  +     </li>
  +  </ul>
  +</p>
  +</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  +
  +    <b style="font-size: larger">
  +        <a name="usebean">Why is <code>jsp:useBean</code> is not working?</a>
  +    </b>
  +    <div style="padding-left : 20px;">
  +    Make sure:
  +    <ul>
  +      <li>
  +        Your bean is packaged in a class.
  +      </li>
  +      <li>
  +        You have fully qualifies your class name
  +        (eg:<code>com.bar.package.MyClass</code>) OR
  +      </li>
  +      <li>
  +        You have imported your class into your jsp
  +        (eg: <code>&lt;%@ pageimport="com.bar.package.MyClass"%&gt;</code>)
  +      </li>
  +    </ul>
  +    </div><br>
  +
  +
  +    <b style="font-size: larger">
  +     <a name="filter">
  +       Why do I get <code>java.lang.NoClassDefFoundError:
  +       javax/servlet/Filter</code>
  +     </a>
  +    </b>
  +    <div style="padding-left : 20px;">
  +    You probably have servlet.jar floating around somewhere it shouldn't be.
  +    This really messes up the classloaders since Tomcat's classloaders
  +    don't act quite as normal as one expects (see links above). servlet.jar
  +    should only be found only once in $CATALINA_HOME/common/lib.
  +    </div><br>
  +
  +
  +    <b style="font-size: larger">
  +     <a name="xml">
  +       Why do I get <code>java.lang.NoClassDefFoundError:
  +       org/xml/sax/InputSource</code>
  +     </a>
  +    </b>
  +    <div style="padding-left : 20px;">
  +    You have conflicting XML api jar files in your classpath. Read the
  +    README or RELEASE-NOTES for more information.
  +    </div><br>
  +
  +
  +</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
  +        Copyright &copy; 1999-2003, Apache Software Foundation
           </em></font></div></td></tr></table></body></html>
  
  
  
  1.2       +22 -3     jakarta-tomcat-site/docs/faq/printer/version.html
  
  Index: version.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/printer/version.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- version.html      12 Jun 2003 00:31:13 -0000      1.1
  +++ version.html      24 Jun 2003 02:07:02 -0000      1.2
  @@ -13,9 +13,17 @@
   </blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
     <ul>
   
  -     <li><a href="#which">
  -        Which tomcat version should I use?
  -         </a> </li>
  +     <li>
  +       <a href="#which">
  +         Which tomcat version should I use?
  +       </a>
  +     </li>
  +
  +     <li>
  +       <a href="#when">
  +        When will the next version be released?
  +       </a>
  +      </li>
   
     </ul>
   </blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  @@ -51,6 +59,17 @@
         tomcat home page </a> should have the correct recommendation.
       </div><br>
   
  +
  +    <b style="font-size: larger">
  +      <a name="when">
  +        When will the next version be released?
  +      </a>
  +    </b>
  +    <div style="padding-left : 20px;">
  +      <a href="http://marc.theaimsgroup.com/?l=tomcat-user&m=102351104906437&w=2";>
  +        When it is ready.
  +      </a>
  +    </div><br>
   
   </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td 
colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td 
colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
           Copyright &copy; 1999-2003, Apache Software Foundation
  
  
  
  1.2       +21 -2     jakarta-tomcat-site/docs/faq/printer/misc.html
  
  Index: misc.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/printer/misc.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- misc.html 12 Jun 2003 00:31:13 -0000      1.1
  +++ misc.html 24 Jun 2003 02:07:02 -0000      1.2
  @@ -98,7 +98,11 @@
           from a servlet? (or jsp)
         </a>
       </li>
  -
  +    <li>
  +      <a href="#tagbroken">
  +        Is tag pooling broken? It doesn't call release!
  +      </a>
  +    </li>
     </ul>
   </p>
   
  @@ -296,7 +300,7 @@
   
   
     <b style="font-size: larger">
  -    <a name="properties">
  +    <a name="error">
         How do I get a customized error page?
       </a>
     </b>
  @@ -457,6 +461,21 @@
        header.
     </div><br>
   
  +
  +
  +  <b style="font-size: larger">
  +      <a name="#tagbroken">
  +        Is tag pooling broken? It doesn't call release!
  +      </a>
  +  </b>
  +  <div style="padding-left : 20px;">
  +    It is not broken, your tag probably is. Many bug reports
  +    have been filed about this.
  +     <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16001";>
  +        Here
  +     </a>
  +    is the bug report with all the gory details.
  +  </div><br>
   
   
   
  
  
  
  1.2       +6 -0      jakarta-tomcat-site/docs/faq/printer/connectors.html
  
  Index: connectors.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/printer/connectors.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- connectors.html   12 Jun 2003 00:31:13 -0000      1.1
  +++ connectors.html   24 Jun 2003 02:07:02 -0000      1.2
  @@ -47,6 +47,12 @@
       </a>
     </li>
   
  +  <li>[link]
  +    <a href="http://www.greenfieldresearch.ca/technical/jk2_config.html";>
  +       Tomcat-Apache using JK2 connector
  +    </a>
  +  </li>
  +
     <li>[thread]
       <a href="http://marc.theaimsgroup.com/?t=104040058200004&r=1&w=2";>
         Configuring mod_jk - Again!
  
  
  
  1.2       +20 -0     jakarta-tomcat-site/docs/faq/printer/classnotfound.html
  
  Index: classnotfound.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/printer/classnotfound.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- classnotfound.html        12 Jun 2003 00:31:13 -0000      1.1
  +++ classnotfound.html        24 Jun 2003 02:07:02 -0000      1.2
  @@ -51,6 +51,9 @@
           </a>
         </li>
       </ul>
  +    If you get a
  +    <code>NoClassDefFoundError</code> exception, the root might be the
  +    same reason as a <code>ClassNotFound</code> exception.
   </blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Questions"><strong>Questions</strong></a></font></td></tr><tr><td><blockquote>
   <p>
     <ul>
  @@ -63,6 +66,11 @@
           javax/servlet/Filter</code>
           </a>
        </li>
  +    <li>
  +      <a href="#xml">
  +        Why do I get <code>NoClassDefFoundError: org/xml/sax/InputSource</code>?
  +        </a>
  +     </li>
     </ul>
   </p>
   </blockquote></td></tr></table><table cellpadding="2" cellspacing="0" 
border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" 
color="#ffffff"><a 
name="Answers"><strong>Answers</strong></a></font></td></tr><tr><td><blockquote>
  @@ -99,6 +107,18 @@
       This really messes up the classloaders since Tomcat's classloaders
       don't act quite as normal as one expects (see links above). servlet.jar
       should only be found only once in $CATALINA_HOME/common/lib.
  +    </div><br>
  +
  +
  +    <b style="font-size: larger">
  +     <a name="xml">
  +       Why do I get <code>java.lang.NoClassDefFoundError:
  +       org/xml/sax/InputSource</code>
  +     </a>
  +    </b>
  +    <div style="padding-left : 20px;">
  +    You have conflicting XML api jar files in your classpath. Read the
  +    README or RELEASE-NOTES for more information.
       </div><br>
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to