xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dles...@apache.org
Subject cvs commit: xml-xalan/java/xdocs/sources/xalan faq.xml
Date Mon, 13 Aug 2001 14:56:32 GMT
dleslie     01/08/13 07:56:32

  Modified:    java/xdocs/sources/xalan faq.xml
  Added faq from Gunnaluger Thor Briem on loading extension element/function classes in a
  Revision  Changes    Path
  1.10      +13 -1     xml-xalan/java/xdocs/sources/xalan/faq.xml
  Index: faq.xml
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/faq.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- faq.xml	2001/07/17 14:40:29	1.9
  +++ faq.xml	2001/08/13 14:56:31	1.10
  @@ -178,5 +178,17 @@
       (java.io.OutputStreamWriter). Once the Writer exists, you cannot change its encoding.</p>
  +    <faq title="Servlet unable to find classes for extension functions/elements">
  +    <q>My servlet cannot find classes that implement extension functions or elements.
What can I do?</q>
  +    <a>
  +    <p>If you install xalan.jar in the servlet engine's lib directory (e.g., tomcat/lib),
as opposed to the servlet's 
  +    lib directory, then the Xalan classes are loaded by a classloader that does not see
the classes in the servlet's
  +    classloader (i.e., the extension classes, if you placed them there). The Xalan classes
try to load the extension 
  +    classes using their own classloader, and that attempt fails.</p>
  +    <p>Workaround: place xalan.jar in the servlet's lib directory and NOT in the
servlet engine's lib directory. 
  +    Another workaround is to place the extension classes also in the servlet engine's lib
directory, but you
  +    generally want to avoid cluttering that directory.</p>
  +    <p>Thanks to Gunnlauger Thor Briem (gthb@dimon.is) for providing this information.
  +    </a>
  +  </faq>

To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org

View raw message