Hi, tomcat 4.0.X classloader is buggy . I had opened a bugreport in bugzilla and got it confirmed. A fix is probably available with tomcat 4.1.X (it already existst in the HEAD-branch of CVS).
Stefan > I just installed the latest Tomcat (4.0.2), (on W2K Pro) deployed the latest > xtags-examples.war, and a NoClassDefFound exception is thrown whenever I > access a page with a <xtags:style ...> tag like this one: > > <html> > <%@ taglib uri="http://jakarta.apache.org/taglibs/xtags-1.0" prefix="xtags" > %> > <xtags:style xml="/style/test.xml" xsl="/style/article-html.xsl"/> > </html> > > Here is the exception: > > java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver > at java.lang.Class.getMethods0(Native Method) > at java.lang.Class.getDeclaredMethods(Class.java:1039) > at java.beans.Introspector$1.run(Introspector.java:852) > at java.security.AccessController.doPrivileged(Native Method) > at > java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:850) > at java.beans.Introspector.getTargetEventInfo(Introspector.java:556) > at java.beans.Introspector.getBeanInfo(Introspector.java:294) > at java.beans.Introspector.getBeanInfo(Introspector.java:81) > at > org.apache.jasper.compiler.TagCache.setTagHandlerClass(TagCache.java:116) > at > org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:146 > ) > : > at java.lang.Thread.run(Thread.java:484) > > It seems to be an issue with the classloader not being able to fine JAXP 1.1 > jar. When we drop jaxp.jar in %TOMCAT_HOME%\common\lib everything starts > working again. However, this was _not_ necessary under Tomcat 4.0.1, so I > am wondering what has changed, and if there is a better solution. Perhaps > that is a question for the Tomcat developers, but I was hoping that someone > out there is also trying to use xtags on Tomcat 4.0.2 and may know what's > happening. > > Thanks. > -- < W E B M A C H E R > EDV+INTERNETSERVICE GMBH POST: August Bebel Str. 69 04275 Leipzig FON: +49 341 30 34 832 FAX: +49 341 30 34 840 WEB: www.webmacher.de -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>