the java endorsed standards override mechanism docs at

  http://java.sun.com/j2se/1.4.2/docs/guide/standards/index.html

seem to indicate that only a few selected classes can be overridden, among them

    org.w3c.dom
    org.xml.sax
    org.xml.sax.ext
    org.xml.sax.helpers

however, we attempt to copy all these into tomcat's endorsed libs directory:
sh-3.00$ ls -1 build/lenya/webapp/WEB-INF/lib/endorsed
jakarta-bcel-20040329.jar
jakarta-regexp-1.4.jar
xalan-2.7.0.jar
xercesImpl-2.8.1.jar
xml-apis-1.3.03.jar

the only package for which it is legal to do this is xml-apis, and the xercesImpl package does contain a single class from the org.w3c.dom realm.

if we need them, they should be copied to our private WEB-INF/lib and taken care of by the webapp-specific classloader iiuc, as explained in http://tomcat.apache.org/tomcat-5.0-doc/class-loader-howto.html

can anyone comment on this?


--
jörn nettingsmeier

home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621

if you are a free (as in "free speech") software developer
and you happen to be travelling near my home, drop me a line
and come round for a free (as in "free beer") beer. :-D

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

Reply via email to